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.nextmatchs.inc.php

    r3893 r7655  
    434434                        while($GLOBALS['phpgw']->db->next_record()) 
    435435                        { 
    436                                 $index++; 
     436                                ++$index; 
    437437                                $filter_obj[$index][0] = $GLOBALS['phpgw']->db->f($idxfieldname); 
    438438                                $filter_obj[$index][1] = $GLOBALS['phpgw']->db->f($strfieldname); 
     
    453453                        { 
    454454                                $indexlimit = count($search_obj); 
    455                                 for ($index=0; $index<$indexlimit; $index++) 
     455                                for ($index=0; $index<$indexlimit; ++$index) 
    456456                                { 
    457457                                        if ($this->_qfield == '') 
     
    510510                                        } 
    511511 
    512                                         for ($index=0; $index<$indexlimit; $index++) 
     512                                        for ($index=0; $index<$indexlimit; ++$index) 
    513513                                        { 
    514514                                                $filter_obj[2+$index][0] = $user_groups[$index]['account_id']; 
     
    523523                                $indexlimit = count($filter_obj); 
    524524 
    525                                 for ($index=0; $index<$indexlimit; $index++) 
     525                                for ($index=0; $index<$indexlimit; ++$index) 
    526526                                { 
    527527                                        if ($this->_filter == '') 
     
    583583                        $indexlimit = count($filter_obj); 
    584584 
    585                         for($index=0; $index<$indexlimit; $index++) 
     585                        for($index=0; $index<$indexlimit; ++$index) 
    586586                        { 
    587587                                if($filter == '') 
Note: See TracChangeset for help on using the changeset viewer.