X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FMisc%2Fprune.pm;h=b6c3053b7223e30c0a832d57a515a5036b8a34cc;hb=0182501c5e99b67911bee1f9393cd494f4e00f36;hp=371f31cbbef0671303e90244e76f7c02d33b7a36;hpb=015f6132d77de12b17c713254900e2a5e8a3a8a0;p=freeside.git diff --git a/FS/FS/Misc/prune.pm b/FS/FS/Misc/prune.pm index 371f31cbb..b6c3053b7 100644 --- a/FS/FS/Misc/prune.pm +++ b/FS/FS/Misc/prune.pm @@ -34,9 +34,10 @@ affected records is returned rather than actually deleting the records. sub prune_applications { my $options = shift; - my $dbh = dbh + my $dbh = dbh; local $DEBUG = 1 if exists($options->{debug}); + my $ccr = <