aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-11-20 17:15:32 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-11-20 17:15:32 +0100
commit3caeb09b18744a74ca2b46c670a9b943a3905c74 (patch)
treed1bef5dfe510e7b148acc1ce9e5dc906aeb9954a /phpBB
parent6db967bdd51c7df79ec7095e6d5dc506fbf3f132 (diff)
downloadforums-3caeb09b18744a74ca2b46c670a9b943a3905c74.tar
forums-3caeb09b18744a74ca2b46c670a9b943a3905c74.tar.gz
forums-3caeb09b18744a74ca2b46c670a9b943a3905c74.tar.bz2
forums-3caeb09b18744a74ca2b46c670a9b943a3905c74.tar.xz
forums-3caeb09b18744a74ca2b46c670a9b943a3905c74.zip
[ticket/11842] Use only new avatar type in user_delete function
PHPBB3-11842
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 9e84af5c28..bdc7104e5f 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -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);
}