mirror of
https://github.com/go-gitea/gitea
synced 2025-07-26 12:18:36 +00:00
Search bar for issues/pulls (#530)
This commit is contained in:
@@ -125,7 +125,7 @@ func DeleteIssueComment(ctx *context.APIContext) {
|
||||
return
|
||||
}
|
||||
|
||||
if err = models.DeleteCommentByID(comment.ID); err != nil {
|
||||
if err = models.DeleteComment(comment); err != nil {
|
||||
ctx.Error(500, "DeleteCommentByID", err)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user