http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95116

Revision: 95116
Author:   maxsem
Date:     2011-08-20 22:20:20 +0000 (Sat, 20 Aug 2011)
Log Message:
-----------
Backported r89660 to 1.17: notice in updater

Modified Paths:
--------------
    branches/REL1_17/phase3/includes/installer/DatabaseUpdater.php

Modified: branches/REL1_17/phase3/includes/installer/DatabaseUpdater.php
===================================================================
--- branches/REL1_17/phase3/includes/installer/DatabaseUpdater.php      
2011-08-20 21:04:58 UTC (rev 95115)
+++ branches/REL1_17/phase3/includes/installer/DatabaseUpdater.php      
2011-08-20 22:20:20 UTC (rev 95116)
@@ -99,7 +99,7 @@
                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;


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to