[freeside-commits] freeside/FS/bin freeside-upgrade, 1.5.2.10, 1.5.2.11

Ivan,,, ivan at wavetail.420.am
Thu May 29 18:33:55 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv11142/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.10
retrieving revision 1.5.2.11
diff -u -d -r1.5.2.10 -r1.5.2.11
--- freeside-upgrade	30 May 2008 01:28:22 -0000	1.5.2.10
+++ freeside-upgrade	30 May 2008 01:33:50 -0000	1.5.2.11
@@ -61,12 +61,9 @@
 
 my $hashref = {};
 $hashref->{dry_run} = 1 if $DRY_RUN;
-$hashref->{debug} = 1 if $DEBUG;
-if ( $DRY_RUN ) {
-  print join "\n", prune_applications($hashref) unless $opt_s;
-} else {
-  prune_applications($hashref) unless $opt_s;
-}
+$hashref->{debug} = 1 if $DEBUG && $DRY_RUN;
+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