aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-09-07 02:22:20 -0400
committerSteve Clay <steve@mrclay.org>2012-09-07 02:22:20 -0400
commitd764446654f2c590391841ae25a9d22166b556ee (patch)
tree3af09ea1be0d0a136b464138c03634b1cdf7ddf7 /engine/classes
parenta0005033ac0d69ef462ff27394cd1c34d5dd5fab (diff)
downloadelgg-d764446654f2c590391841ae25a9d22166b556ee.tar.gz
elgg-d764446654f2c590391841ae25a9d22166b556ee.tar.bz2
Remove unneeded code
Diffstat (limited to 'engine/classes')
-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];