From 396676288edc5935f35b7de4ea6e58ff99df6a0a Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 3 Feb 2016 12:52:06 +0100 Subject: [PATCH] Adjust method signatures to match parent --- action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.php b/action.php index e64093a..888aaa5 100644 --- a/action.php +++ b/action.php @@ -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());