From 471940d11c44221cb249b510f5593f824962438d Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 4 Mar 2011 02:59:27 +0000 Subject: 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 --- engine/lib/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/access.php') 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)) { -- cgit v1.2.3