mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
Use ExtensionRegistry to detect whether Echo is installed
Change-Id: I7816983c132c45653666b294fec2ee64fac94944
This commit is contained in:
parent
8bd72dc871
commit
3917d74778
|
@ -347,7 +347,7 @@ class SkinMinerva extends SkinTemplate implements ICustomizableSkin {
|
|||
* @return bool
|
||||
*/
|
||||
protected function useEcho() {
|
||||
return class_exists( 'MWEchoNotifUser' );
|
||||
return ExtensionRegistry::getInstance()->isLoaded( 'Echo' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue