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:
d21c754
)
Remove setting of $wgReadOnly in LBFactoryMulti
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 5 Oct 2015 05:16:38 +0000
(22:16 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 5 Oct 2015 05:16:38 +0000
(22:16 -0700)
wfReadOnly() already pulls in this information
Change-Id: I7c4693f0e69decefcc0cf52168fa2b71152eb99b
includes/db/loadbalancer/LBFactoryMulti.php
patch
|
blob
|
history
diff --git
a/includes/db/loadbalancer/LBFactoryMulti.php
b/includes/db/loadbalancer/LBFactoryMulti.php
index
f0c374f
..
6397bca
100644
(file)
--- a/
includes/db/loadbalancer/LBFactoryMulti.php
+++ b/
includes/db/loadbalancer/LBFactoryMulti.php
@@
-178,13
+178,6
@@
class LBFactoryMulti extends LBFactory {
$this->$key = $conf[$key];
}
}
-
- // Check for read-only mode
- $section = $this->getSectionForWiki();
- if ( !empty( $this->readOnlyBySection[$section] ) ) {
- global $wgReadOnly;
- $wgReadOnly = $this->readOnlyBySection[$section];
- }
}
/**