[otrs-cvs] otrs/Kernel/System Ticket.pm,1.586,1.587

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/System
In directory lancelot:/tmp/cvs-serv26430/Kernel/System

Modified Files:
	Ticket.pm 
Log Message:
Improved code.

Author: mg

Index: Ticket.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Ticket.pm,v
retrieving revision 1.586
retrieving revision 1.587
diff -2 -u -d -r1.586 -r1.587
--- Ticket.pm	14 Jan 2013 12:18:08 -0000	1.586
+++ Ticket.pm	14 Jan 2013 12:28:01 -0000	1.587
@@ -4753,8 +4753,5 @@
     }
 
-    my $CacheKey = 'Cache::HistoryTicketGet';
-    for my $ParamName ( sort keys %Param ) {
-        $CacheKey .= '::' . $Param{$ParamName};
-    }
+    my $CacheKey = 'HistoryTicketGet::' . join( '::', sort keys %Param );
 
     my $Cached = $Self->{CacheInternalObject}->Get( Key => $CacheKey );
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.