From ea20baa3ab33eb3734ba48a81bf574e22941f9d7 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Tue, 3 Dec 2013 21:04:50 +0100 Subject: [PATCH] Remove unused code and add some comment. --- syntax.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/syntax.php b/syntax.php index 76f8db5..48fbcc5 100644 --- a/syntax.php +++ b/syntax.php @@ -12,6 +12,7 @@ if (!defined ('DOKU_INC')) die(); if (!defined ('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC . 'lib/plugins/'); require_once DOKU_PLUGIN . 'syntax.php'; +// TODO migrate this to composer 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) { - global $ID; - $iter = new DokuWikiIterator(); $iter->all(function(DokuWikiNode $node) {