From 8f9d373adcae39d85b9530681bb1b6e365e2448f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 28 Jun 2019 17:33:50 -0700 Subject: [PATCH] filerepo: remove pointless "foreign" flag in ForeignDBRepo::getMasterDB() This connection handle is not managed by any LoadBalancer, so nothing checks that Change-Id: Ie60859aacbcccd8439bc58d816c6b94769a4331f --- includes/filerepo/ForeignDBRepo.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/filerepo/ForeignDBRepo.php b/includes/filerepo/ForeignDBRepo.php index 4b331389b7..a44d3edcc1 100644 --- a/includes/filerepo/ForeignDBRepo.php +++ b/includes/filerepo/ForeignDBRepo.php @@ -107,8 +107,7 @@ class ForeignDBRepo extends LocalRepo { 'password' => $this->dbPassword, 'dbname' => $this->dbName, 'flags' => $this->dbFlags, - 'tablePrefix' => $this->tablePrefix, - 'foreign' => true, + 'tablePrefix' => $this->tablePrefix ]; return function ( $index ) use ( $type, $params ) { -- 2.20.1