From 70bdc6a8525c97a5cbe1090872fc341c9984ee26 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 17 Sep 2008 17:24:09 +0000 Subject: Access permissions now cached correctly. git-svn-id: https://code.elgg.org/elgg/trunk@2096 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/access.php | 1 + 1 file changed, 1 insertion(+) (limited to 'engine/lib/access.php') diff --git a/engine/lib/access.php b/engine/lib/access.php index cf4b82609..2df9aea58 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -50,6 +50,7 @@ function get_access_array($user_id = 0, $site_id = 0, $flush = false) { global $CONFIG; + static $access_array; if (!isset($access_array)) $access_array = array(); -- cgit v1.2.3