Add a option to load the changesets.
The default is, not to load the changesets.
This commit is contained in:
parent
29ebda487a
commit
0b248d7dec
4 changed files with 29 additions and 17 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue