[freeside-commits] freeside/FS/bin freeside-upgrade,1.39,1.40
Ivan,,,
ivan at wavetail.420.am
Sat Sep 18 22:50:30 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv13862/FS/bin
Modified Files:
freeside-upgrade
Log Message:
fix a series of unfortunate upgrades which resulted in too much payment receiptery, RT#9723
Index: freeside-upgrade
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-upgrade,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -w -d -r1.39 -r1.40
--- freeside-upgrade 16 Aug 2010 20:11:30 -0000 1.39
+++ freeside-upgrade 19 Sep 2010 05:50:28 -0000 1.40
@@ -11,7 +11,7 @@
use FS::Misc::prune qw(prune_applications);
use FS::Conf;
use FS::Record qw(qsearch);
-use FS::Upgrade qw(upgrade_schema upgrade upgrade_sqlradius);
+use FS::Upgrade qw(upgrade_schema upgrade_config upgrade upgrade_sqlradius);
my $start = time;
@@ -199,6 +199,14 @@
warn "Re-initialization with updated schema completed in ". (time-$start). " seconds\n"; # if $DEBUG;
$start = time;
+upgrade_config()
+ unless $DRY_RUN || $opt_s;
+
+$dbh->commit or die $dbh->errstr;
+
+warn "Config updates completed in ". (time-$start). " seconds\n"; # if $DEBUG;
+$start = time;
+
upgrade()
unless $DRY_RUN || $opt_s;
More information about the freeside-commits
mailing list