From b7a3afbe7e991e4ca546f9f8392a78a1cb267a2e Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 14 Dec 2010 12:59:17 +0000 Subject: [PATCH] Per r76225 CR: Get rid of Autoloader::loadAllExtensions() "Anything that needs it is badly written and needs to use the AutoLoader properly." --- includes/AutoLoader.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 9f693807e1..d50c006ce6 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -788,16 +788,6 @@ class AutoLoader { return true; } - static function loadAllExtensions() { - global $wgAutoloadClasses; - - foreach ( $wgAutoloadClasses as $class => $file ) { - if ( !( class_exists( $class, false ) || interface_exists( $class, false ) ) ) { - require( $file ); - } - } - } - /** * Force a class to be run through the autoloader, helpful for things like * Sanitizer that have define()s outside of their class definition. Of course -- 2.20.1