From 0afb6e2f7f583bc368ae23eaeb160e858a03e0a2 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 12 Jan 2017 16:41:56 -0800 Subject: [PATCH] Remove random check (and possible inclusion) of Autoloader from Setup This is not even possible. You would've fatal'd 800 ways to Sunday before you get remotely this far. Change-Id: Iaf469e56394db93215af1aa54dc96876d5079ea9 --- includes/Setup.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/Setup.php b/includes/Setup.php index f6631eadb9..4fd222cb50 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -499,10 +499,6 @@ if ( $wgDebugToolbar && !$wgCommandLineMode ) { MWDebug::init(); } -if ( !class_exists( 'AutoLoader' ) ) { - require_once "$IP/includes/AutoLoader.php"; -} - // Reset the global service locator, so any services that have already been created will be // re-created while taking into account any custom settings and extensions. MediaWikiServices::resetGlobalInstance( new GlobalVarConfig(), 'quick' ); -- 2.20.1