From 408cd51930b9669ca56d6c881f1d627ed10a2aca Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 10 Jun 2011 07:48:21 +0000 Subject: [PATCH] Fix for logic error in r89529 causing a notice. --- includes/installer/DatabaseUpdater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index c240025744..a369df0695 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -94,7 +94,7 @@ abstract class DatabaseUpdater { if ( !$vars ) { return; // no LocalSettings found } - if ( !isset( $vars['wgHooks'] ) && !isset( $vars['wgHooks']['LoadExtensionSchemaUpdates'] ) ) { + if ( !isset( $vars['wgHooks'] ) || !isset( $vars['wgHooks']['LoadExtensionSchemaUpdates'] ) ) { return; } global $wgHooks, $wgAutoloadClasses; -- 2.20.1