mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/avatars] Let avatar manager handle $ignore_config
The avatar manager already handles if avatars are enabled. It should also handle ignoring the config settings. PHPBB3-10018
This commit is contained in:
@@ -351,7 +351,7 @@ class acp_groups
|
||||
}
|
||||
else
|
||||
{
|
||||
$avatar = $phpbb_avatar_manager->get_driver($user->data['user_avatar_type'])
|
||||
$avatar = $phpbb_avatar_manager->get_driver($user->data['user_avatar_type']);
|
||||
if ($avatar)
|
||||
{
|
||||
$avatar->delete($avatar_data);
|
||||
|
Reference in New Issue
Block a user