From c1e7e456ffc5a58462a8918da77da4ff2cf953f2 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 22 Jan 2016 17:23:04 +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 8c496e9..a9a176f 100644 --- a/action.php +++ b/action.php @@ -8,7 +8,7 @@ class action_plugin_authgoogle extends DokuWiki_Action_Plugin { /** * Registers the event handlers. */ - function register(&$controller) + function register(Doku_Event_Handler $controller) { $controller->register_hook('HTML_LOGINFORM_OUTPUT', 'BEFORE', $this, 'hook_html_loginform_output', array()); $controller->register_hook('HTML_UPDATEPROFILEFORM_OUTPUT', 'BEFORE', $this, 'hook_updateprofileform_output', array());