aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-12-16 11:54:24 +0800
committerGitHub <noreply@github.com>2019-12-16 11:54:24 +0800
commit43ada6557135919b354d7384c4be699b539b10cb (patch)
tree676627d51d8822783393ba162b6fefd46742c427 /services
parent67b316a954b161cac27e16b6455837881919dd94 (diff)
downloadgitea-43ada6557135919b354d7384c4be699b539b10cb.tar.gz
gitea-43ada6557135919b354d7384c4be699b539b10cb.zip
remove unused method and rename createcommentWithNoAction (#9367)
Diffstat (limited to 'services')
-rw-r--r--services/pull/review.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/pull/review.go b/services/pull/review.go
index 84b6256992..5b453e87f4 100644
--- a/services/pull/review.go
+++ b/services/pull/review.go
@@ -144,7 +144,7 @@ func createCodeComment(doer *models.User, repo *models.Repository, issue *models
}
patch = gitdiff.CutDiffAroundLine(patchBuf, int64((&models.Comment{Line: line}).UnsignedLine()), line < 0, setting.UI.CodeCommentLines)
}
- return models.CreateCommentWithNoAction(&models.CreateCommentOptions{
+ return models.CreateComment(&models.CreateCommentOptions{
Type: models.CommentTypeCode,
Doer: doer,
Repo: repo,