phpBB

Code Changes

File: phpbb/avatar/driver/local.php

  Unmodified   Added   Modified   Removed
Line 158Line 158
	*/
protected function get_avatar_list($user)
{

	*/
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_' . $user->data['user_lang']);


if ($avatar_list === false)
{


if ($avatar_list === false)
{

Line 198Line 198

if ($this->cache != null)
{


if ($this->cache != null)
{

				$this->cache->put('_avatar_local_list', $avatar_list, 86400);

				$this->cache->put('_avatar_local_list_' . $user->data['user_lang'], $avatar_list, 86400);

			}
}


			}
}