Skip to content

Commit

Permalink
Compatibility with releases previous to Hogfather
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed May 3, 2021
1 parent a62b069 commit a2672b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions meta/AggregationTable.php
Expand Up @@ -2,8 +2,6 @@

namespace dokuwiki\plugin\struct\meta;

use dokuwiki\Extension\Event;

/**
* Creates the table aggregation output
*
Expand Down Expand Up @@ -127,7 +125,7 @@ public function render()
'data' => $this->result
);

Event::createAndTrigger(
\Doku_Event::createAndTrigger(
'PLUGIN_STRUCT_RENDER_AGGREGATION_TABLE',
$rendercontext,
array($this, 'renderTable')
Expand Down
3 changes: 1 addition & 2 deletions syntax/output.php
Expand Up @@ -10,7 +10,6 @@
use dokuwiki\plugin\struct\meta\AccessTable;
use dokuwiki\plugin\struct\meta\Assignments;
use dokuwiki\plugin\struct\meta\StructException;
use dokuwiki\Extension\Event;

class syntax_plugin_struct_output extends DokuWiki_Syntax_Plugin
{
Expand Down Expand Up @@ -132,7 +131,7 @@ public function render($format, Doku_Renderer $renderer, $data)
'hasdata' => &$hasdata
);

Event::createAndTrigger(
\Doku_Event::createAndTrigger(
'PLUGIN_STRUCT_RENDER_SCHEMA_DATA',
$rendercontext,
array($this, 'renderSchemaData')
Expand Down

0 comments on commit a2672b0

Please sign in to comment.