Skip to content

Commit

Permalink
Rename constructor
Browse files Browse the repository at this point in the history
To fix #120 and be compatible with PHP 8+
  • Loading branch information
fiwswe committed Oct 24, 2023
1 parent 27d2011 commit a161f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.php
Expand Up @@ -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');
}
Expand Down

0 comments on commit a161f89

Please sign in to comment.