Skip to content

Commit 0d11888

Browse files
committed
Change constructors to modern style
1 parent 39b756c commit 0d11888

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class action_plugin_include extends DokuWiki_Action_Plugin {
2222
/* @var helper_plugin_include $helper */
2323
var $helper = null;
2424

25-
function action_plugin_include() {
25+
function __construct() {
2626
$this->helper = plugin_load('helper', 'include');
2727
}
2828

helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class helper_plugin_include extends DokuWiki_Plugin { // DokuWiki_Helper_Plugin
2828
/**
2929
* Constructor loads default config settings once
3030
*/
31-
function helper_plugin_include() {
31+
function __construct() {
3232
$this->defaults['noheader'] = $this->getConf('noheader');
3333
$this->defaults['firstsec'] = $this->getConf('firstseconly');
3434
$this->defaults['editbtn'] = $this->getConf('showeditbtn');

0 commit comments

Comments
 (0)