aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-13 04:45:05 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-13 04:45:05 +0000
commitf1a39ba2fcc5f9186b64379715a4517cd5a3e4b2 (patch)
tree4c5a6897e7cb59a4698d693a8d0357eefe8910b3
parenta818e6fc766efa996df2841d63f1c943f97513b5 (diff)
downloadelgg-f1a39ba2fcc5f9186b64379715a4517cd5a3e4b2.tar.gz
elgg-f1a39ba2fcc5f9186b64379715a4517cd5a3e4b2.tar.bz2
Fix typo in ElggAccess:get_ignore_access().
git-svn-id: http://code.elgg.org/elgg/trunk@3529 36083f99-b078-4883-b0ff-0f9b5a30f544
-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);
}