From: <var...@us...> - 2014-11-23 19:58:31
|
Revision: 9365 http://sourceforge.net/p/phpwiki/code/9365 Author: vargenau Date: 2014-11-23 19:58:23 +0000 (Sun, 23 Nov 2014) Log Message: ----------- Type compatibility Modified Paths: -------------- trunk/lib/WikiDB.php Modified: trunk/lib/WikiDB.php =================================================================== --- trunk/lib/WikiDB.php 2014-11-23 18:26:27 UTC (rev 9364) +++ trunk/lib/WikiDB.php 2014-11-23 19:58:23 UTC (rev 9365) @@ -102,7 +102,7 @@ include_once("lib/WikiDB/$dbtype.php"); $class = 'WikiDB_' . $dbtype; - return new $class ($dbparams); + return new $class($dbparams); } /** @@ -1128,8 +1128,7 @@ * This method find the most recent revision before a specified * version. * - * @param bool|int $version Find most recent revision before this version. - * You can also use a WikiDB_PageRevision object to specify the $version. + * @param bool|int|WikiDB_PageRevision $version Find most recent revision before this version. * * @param bool $need_content * @@ -1834,7 +1833,7 @@ */ class WikiDB_PageIterator { - function WikiDB_PageIterator(&$wikidb, &$iter, $options = false) + function WikiDB_PageIterator(&$wikidb, &$iter, $options = array()) { $this->_iter = $iter; // a WikiDB_backend_iterator $this->_wikidb = &$wikidb; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |