Revert "Web\Hook: register('grapher') => GrapherHook"

This reverts commit 4a89c2e163.
This commit is contained in:
Alexander Fuhr 2014-09-11 15:00:28 +02:00
parent 6cf8307e0d
commit 65564cda65
1 changed files with 1 additions and 1 deletions

View File

@ -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;