From: Chad Horohoe Date: Tue, 14 Dec 2010 12:59:17 +0000 (+0000) Subject: Per r76225 CR: Get rid of Autoloader::loadAllExtensions() "Anything that needs it... X-Git-Tag: 1.31.0-rc.0~33312 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=b7a3afbe7e991e4ca546f9f8392a78a1cb267a2e;p=lhc%2Fweb%2Fwiklou.git Per r76225 CR: Get rid of Autoloader::loadAllExtensions() "Anything that needs it is badly written and needs to use the AutoLoader properly." --- 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