aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/classes/ElggGroupItemVisibility.php10
1 files changed, 0 insertions, 10 deletions
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
@@ -27,11 +27,6 @@ class ElggGroupItemVisibility {
public $reasonHidden = '';
/**
- * @var bool
- */
- public $requireLogin = false;
-
- /**
* Determine visibility of items within a container for the current user
*
* @param int $container_guid GUID of a container (may/may not be a group)
@@ -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];