From: Chad Horohoe Date: Fri, 13 Jan 2017 00:41:56 +0000 (-0800) Subject: Remove random check (and possible inclusion) of Autoloader from Setup X-Git-Tag: 1.31.0-rc.0~4331^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=0afb6e2f7f583bc368ae23eaeb160e858a03e0a2;p=lhc%2Fweb%2Fwiklou.git 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 --- 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' );