Remove random check (and possible inclusion) of Autoloader from Setup
authorChad Horohoe <chadh@wikimedia.org>
Fri, 13 Jan 2017 00:41:56 +0000 (16:41 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Fri, 13 Jan 2017 00:41:56 +0000 (16:41 -0800)
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

index f6631ea..4fd222c 100644 (file)
@@ -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' );