A poor design decision if I ever made one. Luckily nobody uses it.
Change-Id: Ia6482cce2e17046346c1f8ea196f9510008faebd
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.