Simplest possible fix for *(bug 26552) ForeignDBRepo broken?
authorSam Reed <reedy@users.mediawiki.org>
Tue, 4 Jan 2011 19:33:13 +0000 (19:33 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 4 Jan 2011 19:33:13 +0000 (19:33 +0000)
Going to see what other uses I can find of stuff constructing their own Database Instances...

includes/filerepo/ForeignDBRepo.php

index 35f93d8..7a1053a 100644 (file)
@@ -37,7 +37,7 @@ class ForeignDBRepo extends LocalRepo {
                if ( !isset( $this->dbConn ) ) {
                        $class = 'Database' . ucfirst( $this->dbType );
                        $this->dbConn = new $class( $this->dbServer, $this->dbUser,
-                               $this->dbPassword, $this->dbName, false, $this->dbFlags,
+                               $this->dbPassword, $this->dbName, $this->dbFlags,
                                $this->tablePrefix );
                }
                return $this->dbConn;