mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
Module: Remove deprecated method registerHook()
This commit is contained in:
parent
479bec6fb4
commit
55d23a531f
@ -1388,22 +1388,6 @@ class Module
|
||||
return $this->includeScript($this->configScript);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a hook
|
||||
*
|
||||
* @param string $name Name of the hook
|
||||
* @param string $class Class of the hook w/ namespace
|
||||
* @param string $key
|
||||
*
|
||||
* @return $this
|
||||
*
|
||||
* @deprecated Deprecated since 2.1.1. Use {@link provideHook()} instead
|
||||
*/
|
||||
protected function registerHook($name, $class, $key = null)
|
||||
{
|
||||
return $this->provideHook($name, $class, $key);
|
||||
}
|
||||
|
||||
protected function slashesToNamespace($class)
|
||||
{
|
||||
$list = explode('/', $class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user