From 4144076f40185ff6fdb0f14441d88e6c700f1e85 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Mon, 5 Sep 2011 21:32:36 -0700 Subject: Fixed a stupid problem I introduced in the installation and only just caught >:O --- engine/lib/access.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engine/lib/access.php') 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; -- cgit v1.2.3