Ignore usage of $wgUser

Bug: T262110
Change-Id: Ia4a24d0216ce33d3ae915c12619c149d54d321b2
This commit is contained in:
Reedy 2020-09-05 03:47:29 +01:00
parent c1937cefb7
commit 82896eff62

View file

@ -66,6 +66,7 @@ class EchoForeignWikiRequest {
}
protected function canUseCentralAuth() {
// phpcs:ignore MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgUser
global $wgFullyInitialised, $wgUser;
return $wgFullyInitialised &&