mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
Rename Loader::unRegister() to Loader::register()
This commit is contained in:
parent
7252f3237a
commit
7563a7a0ba
@ -24,7 +24,7 @@ class Loader
|
|||||||
*/
|
*/
|
||||||
public function __destruct()
|
public function __destruct()
|
||||||
{
|
{
|
||||||
$this->unRegister();
|
$this->unregister();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -134,7 +134,7 @@ class Loader
|
|||||||
/**
|
/**
|
||||||
* Detach autoloader from spl registration
|
* Detach autoloader from spl registration
|
||||||
*/
|
*/
|
||||||
public function unRegister()
|
public function unregister()
|
||||||
{
|
{
|
||||||
spl_autoload_unregister(array(&$this, 'loadClass'));
|
spl_autoload_unregister(array(&$this, 'loadClass'));
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ EOD;
|
|||||||
}
|
}
|
||||||
$this->assertTrue($check);
|
$this->assertTrue($check);
|
||||||
|
|
||||||
$loader->unRegister();
|
$loader->unregister();
|
||||||
|
|
||||||
$check = true;
|
$check = true;
|
||||||
foreach (spl_autoload_functions() as $functions) {
|
foreach (spl_autoload_functions() as $functions) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user