aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-04 02:59:27 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-04 02:59:27 +0000
commit471940d11c44221cb249b510f5593f824962438d (patch)
treed6db3fe7b3fffce99ba25749ad4a69d8b3f8432d /engine/lib/access.php
parentd821e8e2634f56b60446e016f103fe2b311cd090 (diff)
downloadelgg-471940d11c44221cb249b510f5593f824962438d.tar.gz
elgg-471940d11c44221cb249b510f5593f824962438d.tar.bz2
updated comment on why we may want to keep access cache
git-svn-id: http://code.elgg.org/elgg/trunk@8578 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r--engine/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 30febb799..91eb6c8f0 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -69,7 +69,7 @@ function get_access_array($user_id = 0, $site_id = 0, $flush = false) {
global $CONFIG, $init_finished;
// @todo everything from the db is cached.
- // this cache might be redundant.
+ // this cache might be redundant. But cache is flushed on every db write.
static $access_array;
if (!isset($access_array) || (!isset($init_finished)) || (!$init_finished)) {