From: Platonides Date: Tue, 6 Apr 2010 15:22:39 +0000 (+0000) Subject: Follow up r64324. Remove unneeded $wgUser->isAnon() check per Bryan. X-Git-Tag: 1.31.0-rc.0~37238 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=2db187bf7a319dfcd67f736dafeb95bb9ce6867a;p=lhc%2Fweb%2Fwiklou.git Follow up r64324. Remove unneeded $wgUser->isAnon() check per Bryan. --- diff --git a/includes/Skin.php b/includes/Skin.php index 618c5934d6..9e2981d677 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -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,