From 4a89c2e16354559797b626ced77b7fbf389c277d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 5 Sep 2014 18:54:50 +0200 Subject: [PATCH] Web\Hook: register('grapher') => GrapherHook --- library/Icinga/Web/Hook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Hook.php b/library/Icinga/Web/Hook.php index 8e65bb33c..2e85f570e 100644 --- a/library/Icinga/Web/Hook.php +++ b/library/Icinga/Web/Hook.php @@ -123,7 +123,7 @@ class Hook */ private static function assertValidHook($instance, $name) { - $base_class = self::$BASE_NS . ucfirst($name); + $base_class = self::$BASE_NS . ucfirst($name) . 'Hook'; if (strpos($base_class, self::$classSuffix) === false) { $base_class .= self::$classSuffix;