From 7d5e3b8847d166f3e9ebb5728b5c5661c68a1044 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 23 Feb 2011 16:48:11 +0000 Subject: [PATCH] Partial revert r81779, $wgHooks is needed. Also add $wgAutoloadClasses --- includes/installer/Installer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 53c19ea87b..9c2a8f44f4 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -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 ) { -- 2.20.1