From: Sam Reed Date: Tue, 4 Jan 2011 19:33:13 +0000 (+0000) Subject: Simplest possible fix for *(bug 26552) ForeignDBRepo broken? X-Git-Tag: 1.31.0-rc.0~32821 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=783d4ab6816bd952200e184a4fbf63639ff818f8;p=lhc%2Fweb%2Fwiklou.git Simplest possible fix for *(bug 26552) ForeignDBRepo broken? Going to see what other uses I can find of stuff constructing their own Database Instances... --- diff --git a/includes/filerepo/ForeignDBRepo.php b/includes/filerepo/ForeignDBRepo.php index 35f93d889a..7a1053a4e1 100644 --- a/includes/filerepo/ForeignDBRepo.php +++ b/includes/filerepo/ForeignDBRepo.php @@ -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;