diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-17 17:24:09 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-17 17:24:09 +0000 |
commit | 70bdc6a8525c97a5cbe1090872fc341c9984ee26 (patch) | |
tree | 72b68fb21c4748a118d3ba851bcea1759f6ae905 | |
parent | a5c81f0ce1b2399314b516229da00dc51075003c (diff) | |
download | elgg-70bdc6a8525c97a5cbe1090872fc341c9984ee26.tar.gz elgg-70bdc6a8525c97a5cbe1090872fc341c9984ee26.tar.bz2 |
Access permissions now cached correctly.
git-svn-id: https://code.elgg.org/elgg/trunk@2096 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/access.php | 1 |
1 files changed, 1 insertions, 0 deletions
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();
|