[freeside-commits] freeside/FS/bin freeside-upgrade, 1.5.2.9, 1.5.2.10
Ivan,,,
ivan at wavetail.420.am
Thu May 29 18:28:24 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv10954/FS/bin
Modified Files:
Tag: FREESIDE_1_7_BRANCH
freeside-upgrade
Log Message:
don't print out the cust_credit_refund pruning every time
Index: freeside-upgrade
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-upgrade,v
retrieving revision 1.5.2.9
retrieving revision 1.5.2.10
diff -u -d -r1.5.2.9 -r1.5.2.10
--- freeside-upgrade 18 May 2008 22:53:13 -0000 1.5.2.9
+++ freeside-upgrade 30 May 2008 01:28:22 -0000 1.5.2.10
@@ -62,7 +62,11 @@
my $hashref = {};
$hashref->{dry_run} = 1 if $DRY_RUN;
$hashref->{debug} = 1 if $DEBUG;
-print join "\n", prune_applications($hashref) unless $opt_s;
+if ( $DRY_RUN ) {
+ print join "\n", prune_applications($hashref) unless $opt_s;
+} else {
+ prune_applications($hashref) unless $opt_s;
+}
print "\n" if $DRY_RUN;
if ( $dbh->{Driver}->{Name} =~ /^mysql/i && ! $opt_s ) {
More information about the freeside-commits
mailing list