diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-22 18:09:03 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-04-22 18:09:03 +0000 |
| commit | 5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81 (patch) | |
| tree | 2f4f211b7d2e9b1ed22ea0b7927ce1481e1e8182 /phpBB/includes/acp/auth.php | |
| parent | 5742dcd68a674b31b91fc39978aeaf6d74c48ceb (diff) | |
| download | forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.gz forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.bz2 forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.tar.xz forums-5cb586461b2b0a48d98ad7a40b0449cc5a5d9c81.zip | |
changed the cache files to save some memory (all global ones are hold in memory, doubling it).
git-svn-id: file:///svn/phpbb/trunk@7386 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/auth.php')
| -rw-r--r-- | phpBB/includes/acp/auth.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php index 79ab7d0c21..10f5633f1e 100644 --- a/phpBB/includes/acp/auth.php +++ b/phpBB/includes/acp/auth.php @@ -30,7 +30,7 @@ class auth_admin extends auth { global $db, $cache; - if (($this->acl_options = $cache->get('acl_options')) === false) + if (($this->acl_options = $cache->get('_acl_options')) === false) { $sql = 'SELECT auth_option, is_global, is_local FROM ' . ACL_OPTIONS_TABLE . ' @@ -53,7 +53,7 @@ class auth_admin extends auth } $db->sql_freeresult($result); - $cache->put('acl_options', $this->acl_options); + $cache->put('_acl_options', $this->acl_options); } if (!sizeof($this->option_ids)) @@ -761,7 +761,7 @@ class auth_admin extends auth $db->sql_multi_insert(ACL_OPTIONS_TABLE, $sql_ary); - $cache->destroy('acl_options'); + $cache->destroy('_acl_options'); $this->acl_clear_prefetch(); return true; |
