Per r76225 CR: Get rid of Autoloader::loadAllExtensions() "Anything that needs it...
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 14 Dec 2010 12:59:17 +0000 (12:59 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 14 Dec 2010 12:59:17 +0000 (12:59 +0000)
includes/AutoLoader.php

index 9f69380..d50c006 100644 (file)
@@ -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