projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
refactor DeployMethod stuff
[dbsrgits/DBIx-Class-DeploymentHandler.git]
/
lib
/
DBIx
/
Class
/
DeploymentHandler.pm
diff --git
a/lib/DBIx/Class/DeploymentHandler.pm
b/lib/DBIx/Class/DeploymentHandler.pm
index
8dbc97f
..
2acfa0d
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler.pm
+++ b/
lib/DBIx/Class/DeploymentHandler.pm
@@
-88,9
+88,9
@@
method install {
}
}
-method upgrade {
- while ( my $version_list = $self->next_version_set ) {
- $self->_upgrade_single_step($version_list);
+sub upgrade {
+ while ( my $version_list = $_[0]->next_version_set ) {
+ $_[0]->_upgrade_single_step($version_list);
}
}