Module: Remove deprecated method `registerHook()`

This commit is contained in:
Sukhwinder Dhillon 2022-05-02 15:17:10 +02:00 committed by Johannes Meyer
parent 479bec6fb4
commit 55d23a531f
1 changed files with 0 additions and 16 deletions

View File

@ -1388,22 +1388,6 @@ class Module
return $this->includeScript($this->configScript);
}
/**
* Register a hook
*
* @param string $name Name of the hook
* @param string $class Class of the hook w/ namespace
* @param string $key
*
* @return $this
*
* @deprecated Deprecated since 2.1.1. Use {@link provideHook()} instead
*/
protected function registerHook($name, $class, $key = null)
{
return $this->provideHook($name, $class, $key);
}
protected function slashesToNamespace($class)
{
$list = explode('/', $class);