From 2db187bf7a319dfcd67f736dafeb95bb9ce6867a Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 6 Apr 2010 15:22:39 +0000 Subject: [PATCH] Follow up r64324. Remove unneeded $wgUser->isAnon() check per Bryan. --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1