Follow up r64324. Remove unneeded $wgUser->isAnon() check per Bryan.
This commit is contained in:
parent
e9ef88c1f5
commit
2db187bf7a
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ class Skin extends Linker {
|
|||
'wgArticleId' => $wgTitle->getArticleId(),
|
||||
'wgIsArticle' => $wgOut->isArticle(),
|
||||
'wgUserName' => $wgUser->isAnon() ? null : $wgUser->getName(),
|
||||
'wgUserGroups' => $wgUser->isAnon() ? array("*") : $wgUser->getEffectiveGroups(),
|
||||
'wgUserGroups' => $wgUser->getEffectiveGroups(),
|
||||
'wgUserLanguage' => $wgLang->getCode(),
|
||||
'wgContentLanguage' => $wgContLang->getCode(),
|
||||
'wgBreakFrames' => $wgBreakFrames,
|
||||
|
|
|
|||
Loading…
Reference in a new issue