21 Jun 2012 11:08
[otrs-cvs] otrs/Kernel/System Ticket.pm,1.557,1.558
CVS commits notifications of OTRS.org <cvs-log <at> otrs.org>
2012-06-21 09:08:39 GMT
2012-06-21 09:08:39 GMT
Comments:
Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv13791/Kernel/System
Modified Files:
Ticket.pm
Log Message:
Refactored TicketGet() and added caching for the SQL to fetch the ticket from the DB. This should avoid many
SQL statements on many screens.
Author: mg
Index: Ticket.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Ticket.pm,v
retrieving revision 1.557
retrieving revision 1.558
diff -2 -u -d -r1.557 -r1.558
--- Ticket.pm 18 Jun 2012 13:33:33 -0000 1.557
+++ Ticket.pm 21 Jun 2012 09:08:34 -0000 1.558
<at> <at> -608,5 +608,5 <at> <at>
# clear ticket cache
- delete $Self->{ 'Cache::GetTicket' . $Param{TicketID} };
+ $Self->_TicketCacheClear( TicketID => $Param{TicketID} );
# delete ticket links
<at> <at> -1063,52 +1063,64 <at> <at>
}
(Continue reading)
RSS Feed