summaryrefslogtreecommitdiff
path: root/lib/plugins/popularity/action.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2015-05-15 19:03:34 +0200
committerChristopher Smith <chris@jalakai.co.uk>2015-05-15 19:03:34 +0200
commit26e22ab837dcabe137a0912fcd2f96d0c35f48c8 (patch)
tree656deee59b1c046f4ac1cebb4ed2bf7d82d72d48 /lib/plugins/popularity/action.php
parent11aaacbee50790c2d5a2c10e97307da213d6320d (diff)
downloadrpg-26e22ab837dcabe137a0912fcd2f96d0c35f48c8.tar.gz
rpg-26e22ab837dcabe137a0912fcd2f96d0c35f48c8.tar.bz2
Changes for PHP 7 Compatibility
- replace PHP4 style class constructor function names (based on class name) with php 5 __construct() Also remove some '&' reference operators used with objects And add some object type hints
Diffstat (limited to 'lib/plugins/popularity/action.php')
-rw-r--r--lib/plugins/popularity/action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/popularity/action.php b/lib/plugins/popularity/action.php
index 9e2e78d11..d5ec0f5c5 100644
--- a/lib/plugins/popularity/action.php
+++ b/lib/plugins/popularity/action.php
@@ -15,7 +15,7 @@ class action_plugin_popularity extends Dokuwiki_Action_Plugin {
*/
var $helper;
- function action_plugin_popularity(){
+ function __construct(){
$this->helper = $this->loadHelper('popularity', false);
}