From d764446654f2c590391841ae25a9d22166b556ee Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Fri, 7 Sep 2012 02:22:20 -0400 Subject: Remove unneeded code --- engine/classes/ElggGroupItemVisibility.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'engine/classes') diff --git a/engine/classes/ElggGroupItemVisibility.php b/engine/classes/ElggGroupItemVisibility.php index 743c935da..2c7e2abb4 100644 --- a/engine/classes/ElggGroupItemVisibility.php +++ b/engine/classes/ElggGroupItemVisibility.php @@ -26,11 +26,6 @@ class ElggGroupItemVisibility { */ public $reasonHidden = ''; - /** - * @var bool - */ - public $requireLogin = false; - /** * Determine visibility of items within a container for the current user * @@ -91,11 +86,6 @@ class ElggGroupItemVisibility { $ret->reasonHidden = self::REASON_NOACCESS; } } - - if ($ret->shouldHideItems && !$user) { - $ret->requireLogin = true; - } - $cache[$cache_key] = $ret; } return $cache[$cache_key]; -- cgit v1.2.3