Remove setting of $wgReadOnly in LBFactoryMulti
wfReadOnly() already pulls in this information Change-Id: I7c4693f0e69decefcc0cf52168fa2b71152eb99b
This commit is contained in:
parent
d21c75418d
commit
5ec1e47475
1 changed files with 0 additions and 7 deletions
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue