diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 42b613c4f0..0e347fe477 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -574,8 +574,6 @@ function user_delete($mode, $user_ids, $retain_username = true) $cache->destroy('sql', MODERATOR_CACHE_TABLE); - $author_id_sql = $db->sql_in_set('author_id', $user_ids); - // Delete user log entries about this user $sql = 'DELETE FROM ' . LOG_TABLE . ' WHERE ' . $db->sql_in_set('reportee_id', $user_ids);