mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Fix web installer/updater for Echo
Loosen check for $wgEchoCluster, because when this hook fires $wgEchoCluster is set to null (even though extension.json sets it to false as the default). Bug: T165317 Change-Id: If7f2677a20407612de17a38ac2c6da444377d7b4
This commit is contained in:
parent
d4fa2ad52f
commit
9fd66198ee
|
@ -171,7 +171,7 @@ class EchoHooks {
|
|||
*/
|
||||
public static function onLoadExtensionSchemaUpdates( DatabaseUpdater $updater ) {
|
||||
global $wgEchoCluster;
|
||||
if ( $wgEchoCluster !== false ) {
|
||||
if ( $wgEchoCluster ) {
|
||||
// DatabaseUpdater does not support other databases, so skip
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue