From 783d4ab6816bd952200e184a4fbf63639ff818f8 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 4 Jan 2011 19:33:13 +0000 Subject: [PATCH] Simplest possible fix for *(bug 26552) ForeignDBRepo broken? Going to see what other uses I can find of stuff constructing their own Database Instances... --- includes/filerepo/ForeignDBRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1