diff --git a/meta/AggregationTable.php b/meta/AggregationTable.php index 8e5d938b..72dedd81 100644 --- a/meta/AggregationTable.php +++ b/meta/AggregationTable.php @@ -2,8 +2,6 @@ namespace dokuwiki\plugin\struct\meta; -use dokuwiki\Extension\Event; - /** * Creates the table aggregation output * @@ -127,7 +125,7 @@ public function render() 'data' => $this->result ); - Event::createAndTrigger( + \Doku_Event::createAndTrigger( 'PLUGIN_STRUCT_RENDER_AGGREGATION_TABLE', $rendercontext, array($this, 'renderTable') diff --git a/syntax/output.php b/syntax/output.php index aa94887e..fb52595d 100644 --- a/syntax/output.php +++ b/syntax/output.php @@ -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 { @@ -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')