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/calendar/inc/class.socalendar_sql.inc.php

    r7552 r7655  
    185185                                                        { 
    186186                                                                $id = 'cal:'.(int)$cal_id.':'.$n; 
    187                                                                 $n++; 
     187                                                                ++$n; 
    188188                                                                 
    189189                                                                $alarm['cal_id'] = $cal_id;             // we need the back-reference 
     
    376376 
    377377                                                                                $id = 'cal:'.(int)$cal_id.':'.$n; 
    378                                                                                 $n++; 
     378                                                                                ++$n; 
    379379 
    380380                                                                                $alarm['cal_id'] = $cal_id;             // we need the back-reference 
     
    402402                                                                        } 
    403403                                                                } 
    404                                                                 $y++; 
     404                                                                ++$y; 
    405405                                                        } 
    406406                                                } 
     
    426426 
    427427                                                                $id = 'cal:'.(int)$cal_id.':'.$n; 
    428                                                                 $n++; 
     428                                                                ++$n; 
    429429 
    430430                                                                $alarm['cal_id'] = $cal_id;             // we need the back-reference 
     
    467467 
    468468                                                                $id = 'cal:'.(int)$cal_id.':'.$n; 
    469                                                                 $n++; 
     469                                                                ++$n; 
    470470 
    471471                                                                $alarm['cal_id'] = $cal_id;             // we need the back-reference 
     
    597597                                { 
    598598                                        $groups = explode(',',$this->stream->f('groups')); 
    599                                         for($j=1;$j<count($groups) - 1;$j++) 
     599                                        for($j=1;$j<count($groups) - 1;++$j) 
    600600                                        { 
    601601                                                $this->add_attribute('groups',$groups[$j],$j-1); 
Note: See TracChangeset for help on using the changeset viewer.