remove extra debugging, RT#7780
authorivan <ivan>
Tue, 22 Jun 2010 04:15:07 +0000 (04:15 +0000)
committerivan <ivan>
Tue, 22 Jun 2010 04:15:07 +0000 (04:15 +0000)
FS/FS/ClientAPI/MyAccount.pm
FS/FS/TicketSystem/RT_Internal.pm

index 3424966..8003613 100644 (file)
@@ -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();
 
index ee963ae..f47648e 100644 (file)
@@ -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 {