mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[ticket/15276] Update
PHPBB3-15276
This commit is contained in:
@@ -2191,8 +2191,10 @@ function avatar_delete($mode, $row, $clean_db = false)
|
|||||||
}
|
}
|
||||||
catch (\phpbb\storage\exception\exception $e)
|
catch (\phpbb\storage\exception\exception $e)
|
||||||
{
|
{
|
||||||
return false;
|
// Fail is covered by return statement below
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -311,7 +311,7 @@ if (!$get_info)
|
|||||||
$convertor = array(
|
$convertor = array(
|
||||||
'test_file' => 'viewtopic.php',
|
'test_file' => 'viewtopic.php',
|
||||||
|
|
||||||
'avatar_path' => get_config_value('storage\\avatar\\config\\path') . '/',
|
'avatar_path' => get_config_value('avatar_path') . '/',
|
||||||
'avatar_gallery_path' => get_config_value('avatar_gallery_path') . '/',
|
'avatar_gallery_path' => get_config_value('avatar_gallery_path') . '/',
|
||||||
'smilies_path' => get_config_value('smilies_path') . '/',
|
'smilies_path' => get_config_value('smilies_path') . '/',
|
||||||
'upload_path' => (defined('MOD_ATTACHMENT')) ? phpbb_get_files_dir() . '/' : '',
|
'upload_path' => (defined('MOD_ATTACHMENT')) ? phpbb_get_files_dir() . '/' : '',
|
||||||
|
Reference in New Issue
Block a user