diff options
author | Mark Wells <mark@freeside.biz> | 2016-04-07 14:51:18 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-04-07 14:51:18 -0700 |
commit | 760290ba5b4806fff25d52617df1fde2d00c914a (patch) | |
tree | afe66ceb2faa258590f4957360de9e2fc8bd8136 | |
parent | 9d818957e724dc5ea2673163855fd84c274cd460 (diff) |
Revert "instrument adjust_ticket_priority to get information on #39536"
This reverts commit 9e0d1dacd8db275dff7f5827bc65b3f1531f8882.
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 5 | ||||
-rw-r--r-- | FS/FS/TicketSystem/RT_Internal.pm | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index d6fa8652c..ed7e35317 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -3605,11 +3605,6 @@ sub adjust_ticket_priority { my($context, $session, $custnum) = _custoragent_session_custnum($p); return { 'error' => $session } if $context eq 'error'; - # temporary instrumentation for RT#39536 - local $DEBUG = 1; - local $FS::TicketSystem::RT_Internal::DEBUG = 1; - warn "[adjust_ticket_priority]\n" . Dumper($p->{'values'}) . "\n\n"; - # warn "$me adjust_ticket_priority: initializing ticket system\n" if $DEBUG; # FS::TicketSystem->init; my $ss_priority = FS::TicketSystem->selfservice_priority; diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm index 6b2d3544c..1c4513e6d 100644 --- a/FS/FS/TicketSystem/RT_Internal.pm +++ b/FS/FS/TicketSystem/RT_Internal.pm @@ -468,9 +468,6 @@ sub get_ticket_object { } my $Tickets = RT::Tickets->new($session->{CurrentUser}); $Tickets->FromSQL($query); - if ( $DEBUG ) { # temporary for RT#39536 - warn "[get_ticket_object] " . $Tickets->BuildSelectQuery . "\n\n"; - } return $Tickets->First; } |