[Rt-commit] r19221 - rt/3.999/trunk/share/html/Widgets

sartak at bestpractical.com sartak at bestpractical.com
Wed Apr 15 23:30:46 EDT 2009


Author: sartak
Date: Wed Apr 15 23:30:46 2009
New Revision: 19221

Modified:
   rt/3.999/trunk/share/html/Widgets/FinalizeWidgetArguments

Log:
Remove these RT3 crutches :)

Modified: rt/3.999/trunk/share/html/Widgets/FinalizeWidgetArguments
==============================================================================
--- rt/3.999/trunk/share/html/Widgets/FinalizeWidgetArguments	(original)
+++ rt/3.999/trunk/share/html/Widgets/FinalizeWidgetArguments	Wed Apr 15 23:30:46 2009
@@ -48,19 +48,11 @@
 <%init>
     my %args = %$widget_arguments;
 
-    %args = (%args, %{ $args{Callback}->() }) if $args{Callback}; # XXX: should be removed once RT4ization has lowercased all of these
     %args = (%args, %{ $args{callback}->() }) if $args{callback};
 
     $args{'description'} = _( $args{'description'} ) if $args{'description'};
     $args{'hints'} = _( $args{'hints'} ) if $args{'hints'};
 
-    # XXX: should be removed once RT4ization has lowercased all of these
-    if ( $args{'ValuesLabel'} ) {
-        while (my ($k, $v) = each %{ $args{'ValuesLabel'} } ) {
-            $args{'ValuesLabel'}->{$k} = _( $args{'ValuesLabel'}->{$k} );
-        }
-    }
-
     if ( $args{'values_label'} ) {
         while (my ($k, $v) = each %{ $args{'values_label'} } ) {
             $args{'values_label'}->{$k} = _( $args{'values_label'}->{$k} );


More information about the Rt-commit mailing list