[freeside-commits] branch FREESIDE_4_BRANCH updated. 31cbce8b195f2aa5b52f066f9d3959fd8d5321cb

Mark Wells mark at 420.am
Thu Apr 7 14:51:49 PDT 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  31cbce8b195f2aa5b52f066f9d3959fd8d5321cb (commit)
      from  3e409e74a1a31db4d045a5131fc5971ce1b3be28 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 31cbce8b195f2aa5b52f066f9d3959fd8d5321cb
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Apr 7 14:51:36 2016 -0700

    Revert "instrument adjust_ticket_priority to get information on #39536"
    
    This reverts commit 4489e44c81a287345eca825e4a17beafc60b004b.

diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index d6fa865..ed7e353 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 6b2d354..1c4513e 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;
 }
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/ClientAPI/MyAccount.pm      |    5 -----
 FS/FS/TicketSystem/RT_Internal.pm |    3 ---
 2 files changed, 8 deletions(-)




More information about the freeside-commits mailing list