Skip to content

Commit

Permalink
declaration of action::register php7 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed Dec 22, 2015
1 parent 64951ca commit c329372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class action_plugin_dwcommits extends DokuWiki_Action_Plugin {
/**
* Register its handlers with the DokuWiki's event controller
*/
function register(&$controller) {
function register(Doku_Event_Handler $controller) {
$controller->register_hook('PARSER_CACHE_USE', 'BEFORE', $this,
'touch_cache');
}
Expand Down

0 comments on commit c329372

Please sign in to comment.