Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
rename constructor
  • Loading branch information
Klap-in committed Aug 3, 2022
1 parent a2cade7 commit efddf2a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions syntax/table.php
Expand Up @@ -6,18 +6,12 @@
* @author Andreas Böhler <dev@aboehler.at>
*/

// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();

if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
require_once(DOKU_PLUGIN.'syntax.php');

class syntax_plugin_davcal_table extends DokuWiki_Syntax_Plugin {

protected $hlp = null;

// Load the helper plugin
public function syntax_plugin_davcal_table() {
public function __construct() {
$this->hlp =& plugin_load('helper', 'davcal');
}

Expand Down

0 comments on commit efddf2a

Please sign in to comment.