diff options
Diffstat (limited to 'engine/classes/ElggAccess.php')
-rw-r--r-- | engine/classes/ElggAccess.php | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/engine/classes/ElggAccess.php b/engine/classes/ElggAccess.php index fd511ca58..eee5ec963 100644 --- a/engine/classes/ElggAccess.php +++ b/engine/classes/ElggAccess.php @@ -1,38 +1,38 @@ -<?php
-/**
- * Class used to determin if access is being ignored.
- *
- * @access private
- * @todo I don't remember why this was required beyond scope concerns.
- * @see elgg_get_ignore_access()
- * @package Elgg.Core
- * @subpackage Access
- */
-class ElggAccess {
- /**
- * Bypass Elgg's access control if true.
- * @var bool
- */
- private $ignore_access;
-
- /**
- * Get current ignore access setting.
- * @return bool
- */
- public function get_ignore_access() {
- return $this->ignore_access;
- }
-
- /**
- * Set ignore access.
- *
- * @param $ignore bool true || false to ignore
- * @return bool Previous setting
- */
- public function set_ignore_access($ignore = true) {
- $prev = $this->ignore_access;
- $this->ignore_access = $ignore;
-
- return $prev;
- }
+<?php +/** + * Class used to determin if access is being ignored. + * + * @access private + * @todo I don't remember why this was required beyond scope concerns. + * @see elgg_get_ignore_access() + * @package Elgg.Core + * @subpackage Access + */ +class ElggAccess { + /** + * Bypass Elgg's access control if true. + * @var bool + */ + private $ignore_access; + + /** + * Get current ignore access setting. + * @return bool + */ + public function get_ignore_access() { + return $this->ignore_access; + } + + /** + * Set ignore access. + * + * @param $ignore bool true || false to ignore + * @return bool Previous setting + */ + public function set_ignore_access($ignore = true) { + $prev = $this->ignore_access; + $this->ignore_access = $ignore; + + return $prev; + } }
\ No newline at end of file |