mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Revert "Web\Hook: register('grapher') => GrapherHook"
This reverts commit 4a89c2e16354559797b626ced77b7fbf389c277d.
This commit is contained in:
parent
6cf8307e0d
commit
65564cda65
@ -123,7 +123,7 @@ class Hook
|
||||
*/
|
||||
private static function assertValidHook($instance, $name)
|
||||
{
|
||||
$base_class = self::$BASE_NS . ucfirst($name) . 'Hook';
|
||||
$base_class = self::$BASE_NS . ucfirst($name);
|
||||
|
||||
if (strpos($base_class, self::$classSuffix) === false) {
|
||||
$base_class .= self::$classSuffix;
|
||||
|
Loading…
x
Reference in New Issue
Block a user