diff options
author | ivan <ivan> | 2005-05-14 16:30:58 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-05-14 16:30:58 +0000 |
commit | 691a587e56557208e9b3834c77f36ca47f3a1a25 (patch) | |
tree | d8059084c93ef0f9a0bb9be2646a3937107308b9 /FS | |
parent | 3081639bd119c6d281ef23139649b2e73ba62754 (diff) |
disable debugging
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/Misc.pm | 8 | ||||
-rw-r--r-- | FS/FS/cust_bill.pm | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm index 92780f707..1bb1ae152 100644 --- a/FS/FS/Misc.pm +++ b/FS/FS/Misc.pm @@ -8,7 +8,7 @@ use Carp; @ISA = qw( Exporter ); @EXPORT_OK = qw( send_email send_fax ); -$DEBUG = 1; +$DEBUG = 0; =head1 NAME @@ -245,13 +245,13 @@ sub send_fax { if ($faxjob->success) { warn "Successfully queued fax to '$options{dialstring}' with jobid " . - $faxjob->jobid; + $faxjob->jobid + if $DEBUG; + return ''; } else { return 'Error while sending FAX: ' . $faxjob->trace; } - return ''; - } package Mail::Internet; diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index f62f11268..d649770c7 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -23,7 +23,7 @@ use FS::cust_bill_event; @ISA = qw( FS::Record ); -$DEBUG = 1; +$DEBUG = 0; #ask FS::UID to run this stuff for us later FS::UID->install_callback( sub { |