From 65564cda65413bf9ee266d673f48463d07ab7895 Mon Sep 17 00:00:00 2001 From: Alexander Fuhr Date: Thu, 11 Sep 2014 15:00:28 +0200 Subject: [PATCH] Revert "Web\Hook: register('grapher') => GrapherHook" This reverts commit 4a89c2e16354559797b626ced77b7fbf389c277d. --- 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 2e85f570e1..8e65bb33c8 100644 --- a/library/Icinga/Web/Hook.php +++ b/library/Icinga/Web/Hook.php @@ -123,7 +123,7 @@ public static function createInstance($name, $key) */ 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;