Merge "Use ExtensionRegistry to detect whether Echo is installed"

This commit is contained in:
jenkins-bot 2018-04-20 00:08:48 +00:00 committed by Gerrit Code Review
commit 1ccaa51ca8

View file

@ -347,7 +347,7 @@ class SkinMinerva extends SkinTemplate implements ICustomizableSkin {
* @return bool
*/
protected function useEcho() {
return class_exists( 'MWEchoNotifUser' );
return ExtensionRegistry::getInstance()->isLoaded( 'Echo' );
}
/**