aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/access.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 73fb5e82c..c3f5b7f0a 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -26,7 +26,7 @@ class ElggAccess {
* @return bool
*/
public function get_ignore_access() {
- return $ignore_access;
+ return $this->ignore_access;
}
/**
@@ -782,7 +782,6 @@ function get_readable_access_level($entity_accessid){
*/
function elgg_set_ignore_access($ignore = true) {
$elgg_access = elgg_get_access_object();
-
return $elgg_access->set_ignore_access($ignore);
}