remove unused method and rename createcommentWithNoAction (#9367)

This commit is contained in:
Lunny Xiao 2019-12-16 11:54:24 +08:00 committed by GitHub
parent 67b316a954
commit 43ada65571
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 89 deletions

View file

@ -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
}
}