From a09d2584f08b0215e25b01f013acb99b8abce2ee Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 22 Jun 2010 04:15:09 +0000 Subject: [PATCH] remove extra debugging, RT#7780 --- FS/FS/ClientAPI/MyAccount.pm | 4 ---- FS/FS/TicketSystem/RT_Internal.pm | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 2a36642f7..80588ebed 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 cec6a88e9..a43b53c3f 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 { -- 2.20.1