mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-09-24 02:38:29 +00:00
Merge "Use ExtensionRegistry to detect whether Echo is installed"
This commit is contained in:
commit
1ccaa51ca8
|
@ -347,7 +347,7 @@ class SkinMinerva extends SkinTemplate implements ICustomizableSkin {
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
protected function useEcho() {
|
protected function useEcho() {
|
||||||
return class_exists( 'MWEchoNotifUser' );
|
return ExtensionRegistry::getInstance()->isLoaded( 'Echo' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue