Ignore:
Timestamp:
12/18/12 16:15:29 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Performance: Function Within Loop Declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/preferences/inc/class.uiaclprefs.inc.php

    r7655 r7673  
    112112                                        } 
    113113                                } 
    114                                  
    115                                 for($i=0;$i<count($to_remove);++$i) { 
     114 
     115                                $to_remove_count = count($to_remove); 
     116                                for($i=0;$i<$to_remove_count;++$i) { 
    116117                                         
    117118                                        if(!array_key_exists((int)$to_remove[$i],$keys_to_keep)) { 
Note: See TracChangeset for help on using the changeset viewer.