projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make ignore_version connect attr more robust
[dbsrgits/DBIx-Class-DeploymentHandler.git]
/
lib
/
DBIx
/
Class
/
DeploymentHandler
/
VersionStorage
/
Standard
/
Component.pm
diff --git
a/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/Component.pm
b/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/Component.pm
index
578bd3b
..
4d63a24
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/Component.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/Component.pm
@@
-20,7
+20,7
@@
sub connection {
$self->attach_version_storage;
- my $args = $_[3] || {};
+ my $args = $self->storage->_dbic_connect_attributes;
unless ( $args->{ignore_version} || $ENV{DBIC_NO_VERSION_CHECK}) {
my $versions = $self->resultset('__VERSION');