Remove unnecessary pass by refenrece in the loader

refs #5786
This commit is contained in:
Eric Lippmann 2015-08-17 14:35:35 +02:00
parent 7563a7a0ba
commit b6fdbf055e
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ class Loader
{
// Think about to add class pathes to php include path
// this could be faster (tg)
spl_autoload_register(array(&$this, 'loadClass'));
spl_autoload_register(array($this, 'loadClass'));
}
/**
@ -136,6 +136,6 @@ class Loader
*/
public function unregister()
{
spl_autoload_unregister(array(&$this, 'loadClass'));
spl_autoload_unregister(array($this, 'loadClass'));
}
}