X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FXMLRPC.pm;h=fb0e5ac74ada7a7a207bd15193c3923637611dc3;hb=6097db7667840f4a65c0012da009528635a7f82e;hp=84f3e4141f60dcccfa32fa38faa0b8da45065062;hpb=673b9a458d9138523026963df6fa3b4683e09bae;p=freeside.git 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 " .