diff options
author | ivan <ivan> | 2008-05-30 01:28:22 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-05-30 01:28:22 +0000 |
commit | abded71c15dcba793b189f4bd6412c74387ba569 (patch) | |
tree | 7ca29f55abc6c65eee96382cdf388d9f00b51b8a | |
parent | f5b558d7372db291457d12379a07175fc61c6800 (diff) |
don't print out the cust_credit_refund pruning every time
-rwxr-xr-x | FS/bin/freeside-upgrade | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade index 0fa213369..063373aa3 100755 --- a/FS/bin/freeside-upgrade +++ b/FS/bin/freeside-upgrade @@ -62,7 +62,11 @@ if ( $DRY_RUN ) { 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 ) { |