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/workflow/inc/class.so_adminaccess.inc.php

    r7495 r7655  
    226226                $tmpBin = decbin($number); 
    227227                $tmpSize = strlen($tmpBin); 
    228                 for ($i = 0; $i < $tmpSize; $i++) 
     228                for ($i = 0; $i < $tmpSize; ++$i) 
    229229                        $levelList[$tmpSize - $i - 1] = ($tmpBin[$i] == '0') ? false : true; 
    230230 
     
    244244 
    245245                $text = ""; 
    246                 for ($i = 0; $i < $this->numberOfPermissions; $i++) 
     246                for ($i = 0; $i < $this->numberOfPermissions; ++$i) 
    247247                        if (isset($list[$i])) 
    248248                                $text = (($list[$i] == true) ? '1' : '0') . $text; 
Note: See TracChangeset for help on using the changeset viewer.