Adjust method signatures to match parent

This commit is contained in:
Andreas Gohr 2016-02-03 12:52:06 +01:00
parent 008bbc2fd0
commit 396676288e
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ require_once (DOKU_PLUGIN . '/acl/admin.php');
class action_plugin_userhomepage extends DokuWiki_Action_Plugin{
function register(&$controller) {
function register(Doku_Event_Handler $controller) {
$controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'init',array());
$controller->register_hook('DETAIL_STARTED', 'AFTER', $this, 'init',array());
$controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'redirect',array());