diff --git a/lib/enko/dokuwiki/objectrepresentation/DokuWikiNode.php b/lib/enko/dokuwiki/objectrepresentation/DokuWikiNode.php index b49bce2..138f805 100755 --- a/lib/enko/dokuwiki/objectrepresentation/DokuWikiNode.php +++ b/lib/enko/dokuwiki/objectrepresentation/DokuWikiNode.php @@ -83,13 +83,6 @@ abstract class DokuWikiNode return $this->name; } - /** - * @return DokuWikiNameSpace - */ - public function getParent() { - return $this->parent; - } - /** * @param $filename * @param null $parent diff --git a/lib/enko/dokuwiki/objectrepresentation/DokuWikiPage.php b/lib/enko/dokuwiki/objectrepresentation/DokuWikiPage.php index eacc13a..caf5f5c 100755 --- a/lib/enko/dokuwiki/objectrepresentation/DokuWikiPage.php +++ b/lib/enko/dokuwiki/objectrepresentation/DokuWikiPage.php @@ -42,14 +42,6 @@ class DokuWikiPage extends DokuWikiNode $this->ChangeLog->append($changelog); } } - if ($this->ChangeLog->count() > 0) { - $this->ChangeLog->uasort(function(DokuWikiChangeset $a, DokuWikiChangeset $b){ - if ($a->getDate() == $b->getDate()) { - return 0; - } - return ($a->getDate() > $b->getDate()) ? -1 : 1; - }); - } } }