diff options
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r-- | engine/lib/access.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php index 678c9e77b..6da747463 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -961,9 +961,10 @@ function elgg_override_permissions_hook($hook, $type, $value, $params) { $user = elgg_get_logged_in_user_entity(); } - if (!$user instanceof ElggUser) { - return false; - } + // don't do this so ignore access still works. +// if (!$user instanceof ElggUser) { +// return false; +// } $user_guid = $user->guid; |