summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorkhoff <khoff>2007-05-11 18:08:10 +0000
committerkhoff <khoff>2007-05-11 18:08:10 +0000
commit3ba9b4989e804094be2a1d3051d94a25d85f6372 (patch)
tree6fd90c1397cd8552f6d33a2af85e64644b1398cf /FS
parent4416d6c914f97fc20b528a48753fc842cc4e0175 (diff)
Quiet debug output.
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/XMLRPC.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/FS/FS/XMLRPC.pm b/FS/FS/XMLRPC.pm
index 84f3e4141..fb0e5ac74 100644
--- a/FS/FS/XMLRPC.pm
+++ b/FS/FS/XMLRPC.pm
@@ -11,9 +11,11 @@ use FS::Conf;
use FS::Record;
use FS::cust_main;
+use Data::Dumper;
+
@ISA = qw( );
-$DEBUG = 1;
+$DEBUG = 0;
=head1 NAME
@@ -84,7 +86,6 @@ sub _serve { #Subroutine, not method
my ($method_name, $params) = (shift, shift);
- use Data::Dumper;
#die 'Called _serve without parameters' unless ref($params) eq 'ARRAY';
$params = [] unless (ref($params) eq 'ARRAY');
@@ -130,7 +131,7 @@ sub _serve { #Subroutine, not method
}
- warn Dumper(@result);
+ warn Dumper(@result) if $DEBUG;
if (grep { UNIVERSAL::can($_, 'hashref') ? 0 : 1 } @result) {
#warn "FS::XMLRPC: One or more objects returned from '${fssub}' doesn't " .