Simplest possible fix for *(bug 26552) ForeignDBRepo broken?

Going to see what other uses I can find of stuff constructing their own Database Instances...
This commit is contained in:
Sam Reed 2011-01-04 19:33:13 +00:00
parent 625b4216e5
commit 783d4ab681

View 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;