Remove setting of $wgReadOnly in LBFactoryMulti

wfReadOnly() already pulls in this information

Change-Id: I7c4693f0e69decefcc0cf52168fa2b71152eb99b
This commit is contained in:
Aaron Schulz 2015-10-04 22:16:38 -07:00
parent d21c75418d
commit 5ec1e47475

View file

@ -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];
}
}
/**