Partial revert r81779, $wgHooks is needed. Also add $wgAutoloadClasses
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 23 Feb 2011 16:48:11 +0000 (16:48 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 23 Feb 2011 16:48:11 +0000 (16:48 +0000)
includes/installer/Installer.php

index 53c19ea..9c2a8f4 100644 (file)
@@ -1205,6 +1205,7 @@ abstract class Installer {
                 * but we're not opening that can of worms
                 * @see https://bugzilla.wikimedia.org/show_bug.cgi?id=26857
                 */
+               global $wgHooks, $wgAutoloadClasses;
                require( "$IP/includes/DefaultSettings.php" );
 
                foreach( $exts as $e ) {