diff options
| author | ivan <ivan> | 2008-05-30 01:33:51 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2008-05-30 01:33:51 +0000 | 
| commit | f333a07ce7720dffb24305a67c9c8d88935da71c (patch) | |
| tree | 61eb2ffa8cb259430ffdd08b20a0a88b7de8a2a4 | |
| parent | abded71c15dcba793b189f4bd6412c74387ba569 (diff) | |
don't print out the cust_credit_refund pruning every time
| -rwxr-xr-x | FS/bin/freeside-upgrade | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade index 063373aa3..cc0c1ee43 100755 --- a/FS/bin/freeside-upgrade +++ b/FS/bin/freeside-upgrade @@ -61,12 +61,9 @@ if ( $DRY_RUN ) {  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 ) {  | 
