Revert "Web\Hook: register('grapher') => GrapherHook"
This reverts commit 4a89c2e163
.
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…
Reference in New Issue