Module: fix multi-instance hook registrations

This fixes the problem that registering the same Hook multiple times
with the provideHook shortcut and no class name kept only one
implementation
This commit is contained in:
Thomas Gelf 2016-02-17 10:20:39 +01:00
parent b005df68a2
commit b63d2ad291
1 changed files with 1 additions and 1 deletions

View File

@ -1289,7 +1289,7 @@ class Module
$class = $implementation;
}
Hook::register($name, $implementation, $class);
Hook::register($name, $class, $class);
return $this;
}