Compare commits
No commits in common. "master" and "0.2.1" have entirely different histories.
2 changed files with 1 additions and 16 deletions
|
@ -83,13 +83,6 @@ abstract class DokuWikiNode
|
|||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return DokuWikiNameSpace
|
||||
*/
|
||||
public function getParent() {
|
||||
return $this->parent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $filename
|
||||
* @param null $parent
|
||||
|
|
|
@ -38,18 +38,10 @@ class DokuWikiPage extends DokuWikiNode
|
|||
$entry = parseChangelogLine($raw_entry);
|
||||
if ((!is_null($this->maxChangeSetAge)) && ($this->maxChangeSetAge->format('U') > $entry['date']))
|
||||
continue;
|
||||
$changelog = new DokuWikiChangeset($entry['date'], $entry['extra'], $entry['id'], $entry['ip'], $entry['sum'], $entry['type'], $entry['user'],$this);
|
||||
$changelog = new DokuWikiChangeset($entry['date'], $entry['extra'], $entry['id'], $entry['ip'], $entry['sum'], $entry['type'], $entry['user'],$page);
|
||||
$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;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue