Add a option to load the changesets.

The default is, not to load the changesets.
This commit is contained in:
Tim Schumacher 2014-06-14 09:29:13 +02:00
parent 29ebda487a
commit 0b248d7dec
4 changed files with 29 additions and 17 deletions

View file

@ -55,12 +55,12 @@ class DokuWikiIterator
/**
*
*/
public function __construct()
public function __construct($loadChangesets = false, \DateTime $maxChangeSetAge = null)
{
global $conf;
$basedir = $conf['datadir'];
$this->root = new DokuWikiNameSpace($basedir);
$this->root = new DokuWikiNameSpace($basedir, null, $loadChangesets, $maxChangeSetAge);
}
/**