aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r--engine/lib/access.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 4b295fd34..575eacfd6 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -155,12 +155,9 @@ function get_access_array($user_id = 0, $site_id = 0, $flush = false) {
}
} else {
-
$tmp_access_array = $access_array[$user_id];
}
- $tmp_return = $access_array[$user_id];
-
return trigger_plugin_hook('access:collections:read','user',array('user_id' => $user_id, 'site_id' => $site_id),$tmp_access_array);
}