filerepo: remove pointless "foreign" flag in ForeignDBRepo::getMasterDB()
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 29 Jun 2019 00:33:50 +0000 (17:33 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 29 Jun 2019 00:33:50 +0000 (17:33 -0700)
This connection handle is not managed by any LoadBalancer, so nothing checks that

Change-Id: Ie60859aacbcccd8439bc58d816c6b94769a4331f

includes/filerepo/ForeignDBRepo.php

index 4b33138..a44d3ed 100644 (file)
@@ -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 ) {