projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a391e3a
)
remove extra debugging, RT#7780
author
ivan
<ivan>
Tue, 22 Jun 2010 04:15:07 +0000
(
04:15
+0000)
committer
ivan
<ivan>
Tue, 22 Jun 2010 04:15:07 +0000
(
04:15
+0000)
FS/FS/ClientAPI/MyAccount.pm
patch
|
blob
|
history
FS/FS/TicketSystem/RT_Internal.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MyAccount.pm
b/FS/FS/ClientAPI/MyAccount.pm
index
3424966
..
8003613
100644
(file)
--- 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';
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();
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
ee963ae
..
f47648e
100644
(file)
--- 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 );
@ISA = qw( FS::TicketSystem::RT_Libs );
-$DEBUG =
1
;
+$DEBUG =
0
;
$me = '[FS::TicketSystem::RT_Internal]';
sub sql_num_customer_tickets {
$me = '[FS::TicketSystem::RT_Internal]';
sub sql_num_customer_tickets {