Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.contacts_ldap.inc.php

    r6065 r7655  
    328328                                { 
    329329                                        $i=0; 
    330                                         for($i=0;$i<count($filterarray);$i++) 
     330                                        for($i=0;$i<count($filterarray);++$i) 
    331331                                        { 
    332332                                                list($name,$value) = preg_split('/=/',$filterarray[$i]); 
     
    482482                        @reset($ldap_fields); 
    483483                        $j = 0; 
    484                         for($i=$start;$i<$limit;$i++) 
     484                        for($i=$start;$i<$limit;++$i) 
    485485                        { 
    486486                                if($i<$this->total_records && $ldap_fields[$i]['uid'][0]) 
     
    510510                                                } 
    511511                                        } 
    512                                         $j++; 
     512                                        ++$j; 
    513513                                } 
    514514                        } 
Note: See TracChangeset for help on using the changeset viewer.