mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
[ticket/17153] Remove phpbb_get_group_avatar()
PHPBB3-17153
This commit is contained in:
parent
902283c368
commit
cf44868393
1 changed files with 0 additions and 18 deletions
|
@ -3559,24 +3559,6 @@ function phpbb_get_user_avatar($user_row, $alt = 'USER_AVATAR', $ignore_config =
|
||||||
return phpbb_get_avatar($row, $alt, $ignore_config, $lazy);
|
return phpbb_get_avatar($row, $alt, $ignore_config, $lazy);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get group avatar
|
|
||||||
*
|
|
||||||
* @deprecated 4.0.0 Use \phpbb\avatar\helper::get_group_avatar() instead
|
|
||||||
*
|
|
||||||
* @param array $group_row Row from the groups table
|
|
||||||
* @param string $alt Optional language string for alt tag within image, can be a language key or text
|
|
||||||
* @param bool $ignore_config Ignores the config-setting, to be still able to view the avatar in the UCP
|
|
||||||
* @param bool $lazy If true, will be lazy loaded (requires JS)
|
|
||||||
*
|
|
||||||
* @return string Avatar html
|
|
||||||
*/
|
|
||||||
function phpbb_get_group_avatar($group_row, $alt = 'GROUP_AVATAR', $ignore_config = false, $lazy = false)
|
|
||||||
{
|
|
||||||
$row = \phpbb\avatar\manager::clean_row($group_row, 'group');
|
|
||||||
return phpbb_get_avatar($row, $alt, $ignore_config, $lazy);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get avatar
|
* Get avatar
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue