Remove unused code and add some comment.
This commit is contained in:
parent
5ce9b253f5
commit
ea20baa3ab
1 changed files with 1 additions and 2 deletions
|
@ -12,6 +12,7 @@ if (!defined ('DOKU_INC')) die();
|
||||||
if (!defined ('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC . 'lib/plugins/');
|
if (!defined ('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC . 'lib/plugins/');
|
||||||
require_once DOKU_PLUGIN . 'syntax.php';
|
require_once DOKU_PLUGIN . 'syntax.php';
|
||||||
|
|
||||||
|
// TODO migrate this to composer
|
||||||
require_once dirname (__FILE__) . DIRECTORY_SEPARATOR . 'objectrepresentation' . DIRECTORY_SEPARATOR . 'DokuWikiObjectRepresentation.class.php';
|
require_once dirname (__FILE__) . DIRECTORY_SEPARATOR . 'objectrepresentation' . DIRECTORY_SEPARATOR . 'DokuWikiObjectRepresentation.class.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -51,8 +52,6 @@ class syntax_plugin_navigation extends DokuWiki_Syntax_Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
function render ($mode, &$renderer, $data) {
|
function render ($mode, &$renderer, $data) {
|
||||||
global $ID;
|
|
||||||
|
|
||||||
$iter = new DokuWikiIterator();
|
$iter = new DokuWikiIterator();
|
||||||
|
|
||||||
$iter->all(function(DokuWikiNode $node) {
|
$iter->all(function(DokuWikiNode $node) {
|
||||||
|
|
Reference in a new issue