"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "includes/user/CentralIdLookup.php" between
mediawiki-1.31.1.tar.gz and mediawiki-1.32.0.tar.gz

About: MediaWiki is a wiki engine (the collaborative editing software that runs for e.g. Wikipedia, the free encyclopedia).

CentralIdLookup.php  (mediawiki-1.31.1):CentralIdLookup.php  (mediawiki-1.32.0)
skipping to change at line 70 skipping to change at line 70
self::$instances[$providerId] = $provider ; self::$instances[$providerId] = $provider ;
} }
} }
} }
return self::$instances[$providerId]; return self::$instances[$providerId];
} }
/** /**
* Reset internal cache for unit testing * Reset internal cache for unit testing
* @codeCoverageIgnore
*/ */
public static function resetCache() { public static function resetCache() {
if ( !defined( 'MW_PHPUNIT_TEST' ) ) { if ( !defined( 'MW_PHPUNIT_TEST' ) ) {
throw new MWException( __METHOD__ . ' may only be called from unit tests!' ); throw new MWException( __METHOD__ . ' may only be called from unit tests!' );
} }
self::$instances = []; self::$instances = [];
} }
final public function getProviderId() { final public function getProviderId() {
return $this->providerId; return $this->providerId;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)