dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc4219
)
filerepo: remove pointless "foreign" flag in ForeignDBRepo::getMasterDB()
author
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 29 Jun 2019 00:33:50 +0000
(17:33 -0700)
committer
Aaron 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
patch
|
blob
|
history
diff --git
a/includes/filerepo/ForeignDBRepo.php
b/includes/filerepo/ForeignDBRepo.php
index
4b33138
..
a44d3ed
100644
(file)
--- 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 ) {