X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAutoLoader.php;h=8dc7d4094a0b983237996173637c9bff89a61bd7;hb=61696a0bd24be2b551bd47279a044d8d986bb03d;hp=883b8a32c1e9c4d8334ee4b53d2f21e23564e5f6;hpb=4d9803dcbf4f495ec77a802aaa6d0ee72b9c4fd9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 883b8a32c1..8dc7d4094a 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -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.