[freeside-commits] freeside/FS/bin freeside-upgrade, 1.31.2.8, 1.31.2.9
Ivan,,,
ivan at wavetail.420.am
Wed Sep 29 13:47:21 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv22612/bin
Modified Files:
Tag: FREESIDE_1_9_BRANCH
freeside-upgrade
Log Message:
backport fix for too much payment receiptery, RT#9723 / RT#9856
Index: freeside-upgrade
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-upgrade,v
retrieving revision 1.31.2.8
retrieving revision 1.31.2.9
diff -u -w -d -r1.31.2.8 -r1.31.2.9
--- freeside-upgrade 16 Aug 2010 20:11:09 -0000 1.31.2.8
+++ freeside-upgrade 29 Sep 2010 20:47:19 -0000 1.31.2.9
@@ -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