From a161f89305bd1884ac35511ddda838b72b5e5aca Mon Sep 17 00:00:00 2001 From: fiwswe <53953985+fiwswe@users.noreply.github.com> Date: Tue, 24 Oct 2023 12:10:39 +0200 Subject: [PATCH] Rename constructor To fix #120 and be compatible with PHP 8+ --- helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.php b/helper.php index f29dc7b..aa85d6e 100644 --- a/helper.php +++ b/helper.php @@ -11,7 +11,7 @@ class helper_plugin_blog extends DokuWiki_Plugin { /** * Constructor */ - function helper_plugin_blog() { + function __construct() { // load sort key from settings $this->sort = $this->getConf('sortkey'); }