[freeside-commits] freeside/FS/bin freeside-upgrade,1.22,1.23

Ivan,,, ivan at wavetail.420.am
Thu May 29 18:28:23 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv10950/FS/bin

Modified Files:
	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.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- freeside-upgrade	18 May 2008 22:53:06 -0000	1.22
+++ freeside-upgrade	30 May 2008 01:28:20 -0000	1.23
@@ -71,7 +71,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