aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/avatar/driver/local.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-10-28 00:34:51 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-10-28 00:34:51 +0100
commit6380aea647c2d611a4c3aaf5d0fe4046782340dd (patch)
tree78b8ee8de13b1d6827593c5f13a2b57756420dab /phpBB/phpbb/avatar/driver/local.php
parent0cdd071230120b8d502e6869c17f5b748d9182a0 (diff)
downloadforums-6380aea647c2d611a4c3aaf5d0fe4046782340dd.tar
forums-6380aea647c2d611a4c3aaf5d0fe4046782340dd.tar.gz
forums-6380aea647c2d611a4c3aaf5d0fe4046782340dd.tar.bz2
forums-6380aea647c2d611a4c3aaf5d0fe4046782340dd.tar.xz
forums-6380aea647c2d611a4c3aaf5d0fe4046782340dd.zip
[ticket/13232] Fix more issues with TTL and global cache file
PHPBB3-13232
Diffstat (limited to 'phpBB/phpbb/avatar/driver/local.php')
-rw-r--r--phpBB/phpbb/avatar/driver/local.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/avatar/driver/local.php b/phpBB/phpbb/avatar/driver/local.php
index 07b3ed59de..8888686b2d 100644
--- a/phpBB/phpbb/avatar/driver/local.php
+++ b/phpBB/phpbb/avatar/driver/local.php
@@ -154,7 +154,7 @@ class local extends \phpbb\avatar\driver\driver
*/
protected function get_avatar_list($user)
{
- $avatar_list = ($this->cache == null) ? false : $this->cache->get('avatar_local_list');
+ $avatar_list = ($this->cache == null) ? false : $this->cache->get('_avatar_local_list');
if ($avatar_list === false)
{
@@ -192,7 +192,7 @@ class local extends \phpbb\avatar\driver\driver
if ($this->cache != null)
{
- $this->cache->put('avatar_local_list', $avatar_list, 86400);
+ $this->cache->put('_avatar_local_list', $avatar_list, 86400);
}
}