From: cash Date: Fri, 4 Mar 2011 02:59:27 +0000 (+0000) Subject: updated comment on why we may want to keep access cache X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=471940d11c44221cb249b510f5593f824962438d;p=lorea%2Felgg.git 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 --- 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)) {