[otrs-cvs] otrs/Kernel/System Ticket.pm,1.549.2.14,1.549.2.15

"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-serv26608/Kernel/System

Modified Files:
      Tag: rel-3_1
	Ticket.pm 
Log Message:
Improved code.

Author: mg

Index: Ticket.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Ticket.pm,v
retrieving revision 1.549.2.14
retrieving revision 1.549.2.15
diff -2 -u -d -r1.549.2.14 -r1.549.2.15
--- Ticket.pm	14 Jan 2013 12:18:43 -0000	1.549.2.14
+++ Ticket.pm	14 Jan 2013 12:28:31 -0000	1.549.2.15
@@ -4916,8 +4916,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.