diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-09-05 21:32:36 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-09-05 21:32:36 -0700 |
commit | 4144076f40185ff6fdb0f14441d88e6c700f1e85 (patch) | |
tree | 14a49b9511d5a38623d0ca530368ccf1b2f1960e /engine | |
parent | 9ecdbc2f6e29ea63e82ea5d2b776b4c080c717f7 (diff) | |
download | elgg-4144076f40185ff6fdb0f14441d88e6c700f1e85.tar.gz elgg-4144076f40185ff6fdb0f14441d88e6c700f1e85.tar.bz2 |
Fixed a stupid problem I introduced in the installation and only just caught >:O
Diffstat (limited to 'engine')
-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; |