Changeset 2999


Ignore:
Timestamp:
07/06/10 11:20:10 (14 years ago)
Author:
asaikawa
Message:

Ticket #863 - Retirado o & indicando que sera recuperada a referencia do objeto instanciado

Location:
trunk/workflow/inc/log
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/inc/log/Log.php

    r795 r2999  
    167167        /* If the class exists, return a new instance of it. */ 
    168168        if (Log::_classExists($class)) { 
    169             $obj = &new $class($name, $ident, $conf, $level); 
     169            $obj = new $class($name, $ident, $conf, $level); 
    170170            return $obj; 
    171171        } 
  • trunk/workflow/inc/log/Log/observer.php

    r795 r2999  
    7979         */ 
    8080        if (class_exists($class)) { 
    81             $object = &new $class($priority, $conf); 
     81            $object = new $class($priority, $conf); 
    8282            return $object; 
    8383        } 
     
    103103            /* Support both new-style and old-style construction. */ 
    104104            if ($newstyle) { 
    105                 $object = &new $class($priority, $conf); 
     105                $object = new $class($priority, $conf); 
    106106            } else { 
    107                 $object = &new $class($priority); 
     107                $object = new $class($priority); 
    108108            } 
    109109            return $object; 
Note: See TracChangeset for help on using the changeset viewer.