mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-21 06:03:10 +00:00
Fix comment
This commit is contained in:
parent
a15917611c
commit
9b164e0724
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user