Merge pull request #20 from splitbrain-forks/php7-signature

Adjust method signatures to match parent (events registration)
This commit is contained in:
Simon DELAGE 2016-02-05 15:20:29 +01:00
commit c2943ffc77
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());