Skip to content

Commit

Permalink
Adjust signature for PHP7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
micgro42 committed Feb 7, 2017
1 parent 22b4522 commit f6bde3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.php
Expand Up @@ -16,7 +16,7 @@ class action_plugin_mediarename extends DokuWiki_Action_Plugin {
/**
* Register its handlers with the dokuwiki's event controller
*/
function register(&$controller) {
function register(Doku_Event_Handler $controller) {
// MEDIAMANAGER_CONTENT_OUTPUT Wraps the output of the (right) content pane in the Media Manager
// intresting but we use MEDIAMANAGER_STARTED
$controller->register_hook(
Expand Down

0 comments on commit f6bde3e

Please sign in to comment.