diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-10-28 00:34:51 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-10-28 00:34:51 +0100 |
commit | 6380aea647c2d611a4c3aaf5d0fe4046782340dd (patch) | |
tree | 78b8ee8de13b1d6827593c5f13a2b57756420dab /phpBB | |
parent | 0cdd071230120b8d502e6869c17f5b748d9182a0 (diff) | |
download | forums-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')
-rw-r--r-- | phpBB/phpbb/avatar/driver/local.php | 4 | ||||
-rw-r--r-- | phpBB/phpbb/version_helper.php | 2 |
2 files changed, 3 insertions, 3 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); } } diff --git a/phpBB/phpbb/version_helper.php b/phpBB/phpbb/version_helper.php index 968a57428f..96386f6d04 100644 --- a/phpBB/phpbb/version_helper.php +++ b/phpBB/phpbb/version_helper.php @@ -239,7 +239,7 @@ class version_helper */ public function get_versions($force_update = false, $force_cache = false) { - $cache_file = 'versioncheck_' . $this->host . $this->path . $this->file; + $cache_file = '_versioncheck_' . $this->host . $this->path . $this->file; $info = $this->cache->get($cache_file); |