From: <var...@us...> - 2014-07-18 14:07:50
|
Revision: 8992 http://sourceforge.net/p/phpwiki/code/8992 Author: vargenau Date: 2014-07-18 14:07:42 +0000 (Fri, 18 Jul 2014) Log Message: ----------- Constructor is void Modified Paths: -------------- trunk/lib/DbSession/SQL.php trunk/lib/DbSession.php Modified: trunk/lib/DbSession/SQL.php =================================================================== --- trunk/lib/DbSession/SQL.php 2014-07-18 13:36:46 UTC (rev 8991) +++ trunk/lib/DbSession/SQL.php 2014-07-18 14:07:42 UTC (rev 8992) @@ -29,7 +29,6 @@ array(&$this, 'write'), array(&$this, 'destroy'), array(&$this, 'gc')); - return $this; } function & _connect() Modified: trunk/lib/DbSession.php =================================================================== --- trunk/lib/DbSession.php 2014-07-18 13:36:46 UTC (rev 8991) +++ trunk/lib/DbSession.php 2014-07-18 14:07:42 UTC (rev 8992) @@ -34,14 +34,13 @@ if (class_exists($class)) { // dba has no ->_dbh, so this is used for the session link $this->_backend = new $class($dbh->_backend->_dbh, $table); - return $this; + return; } } //Fixme: E_USER_WARNING ignored! trigger_error(sprintf(_("Your WikiDB DB backend “%s” cannot be used for DbSession.") . " " . _("Set USE_DB_SESSION to false."), $db_type), E_USER_WARNING); - return false; } function currentSessions() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |