mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
parent
a24bf32c5b
commit
54db2c9afa
@ -1239,7 +1239,7 @@ class Module
|
|||||||
protected function registerHook($name, $class, $key = null)
|
protected function registerHook($name, $class, $key = null)
|
||||||
{
|
{
|
||||||
if ($key === null) {
|
if ($key === null) {
|
||||||
$key = $this->name;
|
$key = $class;
|
||||||
}
|
}
|
||||||
|
|
||||||
Hook::register($name, $key, $class);
|
Hook::register($name, $key, $class);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user