diff --git a/services/issue/comments.go b/services/issue/comments.go index 611e3ed4c3b..b9213a10fa4 100644 --- a/services/issue/comments.go +++ b/services/issue/comments.go @@ -146,7 +146,6 @@ func deleteComment(ctx context.Context, comment *issues_model.Comment, removeAtt } if removeAttachments { - // mark comment attachments as deleted return repo_model.DeleteAttachments(ctx, comment.Attachments) } return nil, nil