Removed deprecated class ImageGallery
[lhc/web/wiklou.git] / includes / AutoLoader.php
index 3fe3bdf..8dc7d40 100644 (file)
@@ -81,18 +81,6 @@ class AutoLoader {
                require $filename;
        }
 
-       /**
-        * 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
-        * this wouldn't be necessary if everything in MediaWiki was class-based. Sigh.
-        *
-        * @param string $class
-        * @return bool Return the results of class_exists() so we know if we were successful
-        */
-       static function loadClass( $class ) {
-               return class_exists( $class );
-       }
-
        /**
         * Method to clear the protected class property $autoloadLocalClassesLower.
         * Used in tests.
@@ -102,4 +90,4 @@ class AutoLoader {
        }
 }
 
-spl_autoload_register( array( 'AutoLoader', 'autoload' ) );
+spl_autoload_register( [ 'AutoLoader', 'autoload' ] );