From: <var...@us...> - 2021-01-16 19:23:12
|
Revision: 10239 http://sourceforge.net/p/phpwiki/code/10239 Author: vargenau Date: 2021-01-16 19:23:05 +0000 (Sat, 16 Jan 2021) Log Message: ----------- Fix __construct prototype Modified Paths: -------------- trunk/lib/DbSession.php Modified: trunk/lib/DbSession.php =================================================================== --- trunk/lib/DbSession.php 2021-01-16 17:56:34 UTC (rev 10238) +++ trunk/lib/DbSession.php 2021-01-16 19:23:05 UTC (rev 10239) @@ -38,14 +38,12 @@ { /** * @param mixed $dbh - * DB handle, or WikiDB object (from which the DB handle will - * be extracted. + * DB handle, or WikiDB object (from which the DB handle will be extracted. * * @param string $table - * @return bool|DbSession * Name of SQL table containing session data. */ - function __construct(&$dbh, $table = 'session') + function __construct($dbh, $table = 'session') { // Check for existing DbSession handler $db_type = $dbh->getParam('dbtype'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |