diff options
Diffstat (limited to 'includes/installer/DatabaseUpdater.php')
-rw-r--r-- | includes/installer/DatabaseUpdater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 79928d1f..57d82ea3 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -99,7 +99,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; |