mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11842] Use only new avatar type in user_delete function
PHPBB3-11842
This commit is contained in:
parent
6db967bdd5
commit
3caeb09b18
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ function user_delete($mode, $user_ids, $retain_username = true)
|
|||
$added_guest_posts = 0;
|
||||
foreach ($user_rows as $user_id => $user_row)
|
||||
{
|
||||
if ($user_row['user_avatar'] && ($user_row['user_avatar_type'] == AVATAR_UPLOAD || $user_row['user_avatar_type'] == 'avatar.driver.upload'))
|
||||
if ($user_row['user_avatar'] && $user_row['user_avatar_type'] == 'avatar.driver.upload')
|
||||
{
|
||||
avatar_delete('user', $user_row);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue