diff options
author | Chad Horohoe <chadh@wikimedia.org> | 2016-07-21 11:56:11 -0700 |
---|---|---|
committer | Chad Horohoe <chadh@wikimedia.org> | 2016-07-22 10:29:02 -0700 |
commit | da6e284638c51878172f4ad368f6aca01647841b (patch) | |
tree | 08689026eaec40b408bb508afec178557a46b418 /includes/AutoLoader.php | |
parent | c42d81ec23a4ecf6e8325a8cd51a46318e323f2d (diff) | |
download | mediawikicore-da6e284638c51878172f4ad368f6aca01647841b.tar.gz mediawikicore-da6e284638c51878172f4ad368f6aca01647841b.zip |
Remove AutoLoader::loadClass()
A poor design decision if I ever made one. Luckily nobody uses it.
Change-Id: Ia6482cce2e17046346c1f8ea196f9510008faebd
Diffstat (limited to 'includes/AutoLoader.php')
-rw-r--r-- | includes/AutoLoader.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 883b8a32c1e9..8dc7d4094a0b 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -82,18 +82,6 @@ class AutoLoader { } /** - * 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. */ |