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());