Development

Changeset 19678

You must first sign up to be able to contribute.

Changeset 19678

Show
Ignore:
Timestamp:
06/29/09 16:11:56 (4 years ago)
Author:
fabien
Message:

[dependency_injection] removed uneeded check in the autoloader

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • components/dependency_injection/trunk/lib/sfServiceContainerAutoloader.php

    r16741 r19678  
    2626  { 
    2727    ini_set('unserialize_callback_func', 'spl_autoload_call'); 
    28     if (!spl_autoload_register(array(new self, 'autoload'))) 
    29     { 
    30       throw new RuntimeException(sprintf('Unable to register %s::autoload as an autoloading method.', __CLASS__)); 
    31     } 
     28    spl_autoload_register(array(new self, 'autoload')); 
    3229  } 
    3330