Index: trunk/phase3/includes/installer/DatabaseUpdater.php |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | if ( !$vars ) { |
96 | 96 | return; // no LocalSettings found |
97 | 97 | } |
98 | | - if ( !isset( $vars['wgHooks'] ) && !isset( $vars['wgHooks']['LoadExtensionSchemaUpdates'] ) ) { |
| 98 | + if ( !isset( $vars['wgHooks'] ) || !isset( $vars['wgHooks']['LoadExtensionSchemaUpdates'] ) ) { |
99 | 99 | return; |
100 | 100 | } |
101 | 101 | global $wgHooks, $wgAutoloadClasses; |