diff --git a/library/Icinga/Data/Tree/NodeRenderer.php b/library/Icinga/Data/Tree/NodeRenderer.php deleted file mode 100644 index 4cebb7e01..000000000 --- a/library/Icinga/Data/Tree/NodeRenderer.php +++ /dev/null @@ -1,58 +0,0 @@ -content[] = ''; - } - - public function beginChildren() - { - $this->content[] = ''; - } - - public function render($callback) - { - if (! is_callable($callback)) { - throw new RuntimeException('Callable expected'); - } - foreach ($this as $node) { - try { - $content = call_user_func($callback, $node); - } catch (Exception $e) { - throw new RuntimeException($e); - } - $this->content[] = $content; - } - return implode("\n", $this->content); - } -}