diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-12-16 11:54:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 11:54:24 +0800 |
commit | 43ada6557135919b354d7384c4be699b539b10cb (patch) | |
tree | 676627d51d8822783393ba162b6fefd46742c427 /models/issue_milestone.go | |
parent | 67b316a954b161cac27e16b6455837881919dd94 (diff) | |
download | gitea-43ada6557135919b354d7384c4be699b539b10cb.tar.gz gitea-43ada6557135919b354d7384c4be699b539b10cb.zip |
remove unused method and rename createcommentWithNoAction (#9367)
Diffstat (limited to 'models/issue_milestone.go')
-rw-r--r-- | models/issue_milestone.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_milestone.go b/models/issue_milestone.go index 5fd1e1b8cc..b7191f66ff 100644 --- a/models/issue_milestone.go +++ b/models/issue_milestone.go @@ -422,7 +422,7 @@ func changeMilestoneAssign(e *xorm.Session, doer *User, issue *Issue, oldMilesto OldMilestoneID: oldMilestoneID, MilestoneID: issue.MilestoneID, } - if _, err := createCommentWithNoAction(e, opts); err != nil { + if _, err := createComment(e, opts); err != nil { return err } } |