mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
Ignore usage of $wgUser
Bug: T262110 Change-Id: Ia4a24d0216ce33d3ae915c12619c149d54d321b2
This commit is contained in:
parent
c1937cefb7
commit
82896eff62
|
@ -66,6 +66,7 @@ class EchoForeignWikiRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function canUseCentralAuth() {
|
protected function canUseCentralAuth() {
|
||||||
|
// phpcs:ignore MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgUser
|
||||||
global $wgFullyInitialised, $wgUser;
|
global $wgFullyInitialised, $wgUser;
|
||||||
|
|
||||||
return $wgFullyInitialised &&
|
return $wgFullyInitialised &&
|
||||||
|
|
Loading…
Reference in a new issue