[Rt-commit] [svn] r1878 - in rt/branches/3.3-TESTING: . html/Elements/RT__Ticket

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Sat Nov 13 00:11:00 EST 2004


Author: jesse
Date: Sat Nov 13 00:11:00 2004
New Revision: 1878

Modified:
   rt/branches/3.3-TESTING/   (props changed)
   rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
Log:
 r9218 at tinbook:  jesse | 2004-11-12T03:08:16.964082Z
 Refactored the column map to only initialize itself once, rather than every time it's called
 


Modified: rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap	(original)
+++ rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap	Sat Nov 13 00:11:00 2004
@@ -49,7 +49,7 @@
 </%ARGS>
 
 
-<%INIT>
+<%ONCE>
 our ( $COLUMN_MAP );
 
 sub ColumnMap {
@@ -298,5 +298,7 @@
 
 # }}}
 $m->comp( '/Elements/Callback', COLUMN_MAP    => $COLUMN_MAP, _CallbackName => 'ColumnMap');
+</%ONCE>
+<%init>
 return ColumnMap($Name, $Attr);
-</%INIT>
+</%init>


More information about the Rt-commit mailing list