From: Max Semenik Date: Sat, 23 Oct 2010 09:59:57 +0000 (+0000) Subject: Revert r73942, which was itself a revert of r73887. After r75213 it will not cause... X-Git-Tag: 1.31.0-rc.0~34380 X-Git-Url: http://git.cyclocoop.org/data/%7B%24admin_url%7Dconfig?a=commitdiff_plain;h=a2b34bc18dea2fcc4fbc16ba39ea7f69ea6516c3;p=lhc%2Fweb%2Fwiklou.git Revert r73942, which was itself a revert of r73887. After r75213 it will not cause additional test failures. --- diff --git a/includes/db/DatabaseSqlite.php b/includes/db/DatabaseSqlite.php index 387d4053be..3663d31d58 100644 --- a/includes/db/DatabaseSqlite.php +++ b/includes/db/DatabaseSqlite.php @@ -88,7 +88,7 @@ class DatabaseSqlite extends DatabaseBase { } catch ( PDOException $e ) { $err = $e->getMessage(); } - if ( $this->mConn === false ) { + if ( !$this->mConn ) { wfDebug( "DB connection error: $err\n" ); if ( !$this->mFailFunction ) { throw new DBConnectionError( $this, $err );