projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
so Search.tsf and Search.rdf work
[freeside.git]
/
FS
/
FS
/
Misc.pm
diff --git
a/FS/FS/Misc.pm
b/FS/FS/Misc.pm
index
92780f7
..
1bb1ae1
100644
(file)
--- 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 );
@ISA = qw( Exporter );
@EXPORT_OK = qw( send_email send_fax );
-$DEBUG =
1
;
+$DEBUG =
0
;
=head1 NAME
=head1 NAME
@@
-245,13
+245,13
@@
sub send_fax {
if ($faxjob->success) {
warn "Successfully queued fax to '$options{dialstring}' with jobid " .
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;
}
} else {
return 'Error while sending FAX: ' . $faxjob->trace;
}
- return '';
-
}
package Mail::Internet;
}
package Mail::Internet;