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:
Kosta Harlan 2020-02-11 12:29:27 +01:00
parent d4fa2ad52f
commit 9fd66198ee

View file

@ -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;
}