mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 20:13:22 +01:00
[ticket/13232] Fix more issues with TTL and global cache file
PHPBB3-13232
This commit is contained in:
parent
0cdd071230
commit
6380aea647
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user