diff options
author | ivan <ivan> | 2008-05-30 01:28:20 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-05-30 01:28:20 +0000 |
commit | 3eea1ba4701cbf02716238b4998216f67ef52ade (patch) | |
tree | 2831a5a6c0f4ef8f104dfffae0a107d13d5306da | |
parent | 9e79fd89ef2dc26f5a90e95416a596d5f7c8501c (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 ce714bfe4..85bf68af6 100755 --- a/FS/bin/freeside-upgrade +++ b/FS/bin/freeside-upgrade @@ -71,7 +71,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 ) { |