Skip to content

Commit

Permalink
brought <action>::register declaration into conformity with PHP 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed Dec 23, 2015
1 parent 62d6bc3 commit 9306923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.php
Expand Up @@ -89,7 +89,7 @@ function __construct() {
/**
* Register its handlers with the DokuWiki's event controller
*/
function register(&$controller) {
function register(Doku_Event_Handler $controller) {

$controller->register_hook('DOKUWIKI_STARTED', 'BEFORE', $this, 'set_cookies');
$controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'search_queries');
Expand Down
2 changes: 1 addition & 1 deletion plugin.info.txt
@@ -1,7 +1,7 @@
base quickstats
author Myron Turner
email turnermm02@shaw.ca
date 2015-12-15
date 2015-12-23
name QuickStats Plugin
desc Non-sql-based web traffic statistics
url http://www.dokuwiki.org/plugin:quickstats
Expand Down

0 comments on commit 9306923

Please sign in to comment.