diff options
author | ivan <ivan> | 2010-06-22 04:15:07 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-06-22 04:15:07 +0000 |
commit | 371fb0b94d70c2f0c783b68350ac13e4e94cb3b9 (patch) | |
tree | e5b4c638edead4500ba6f70d24bb1ac72ed3ec17 | |
parent | a391e3adf1ebacf7bd1d0fd77bc3e0e5da06456b (diff) |
remove extra debugging, RT#7780
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 4 | ||||
-rw-r--r-- | FS/FS/TicketSystem/RT_Internal.pm | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 3424966b1..8003613e7 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -1669,10 +1669,6 @@ sub create_ticket { my($context, $session, $custnum) = _custoragent_session_custnum($p); return { 'error' => $session } if $context eq 'error'; - local($DEBUG) = 1; - local($FS::TicketSystem::RT_Internal::DEBUG) = 1; - local($FS::TicketSystem::RT_Internal::DEBUG) = 1; - warn "$me create_ticket: initializing ticket system\n" if $DEBUG; FS::TicketSystem->init(); diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm index ee963ae4f..f47648e7f 100644 --- a/FS/FS/TicketSystem/RT_Internal.pm +++ b/FS/FS/TicketSystem/RT_Internal.pm @@ -11,7 +11,7 @@ use RT::CurrentUser; @ISA = qw( FS::TicketSystem::RT_Libs ); -$DEBUG = 1; +$DEBUG = 0; $me = '[FS::TicketSystem::RT_Internal]'; sub sql_num_customer_tickets { |