aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue_assignees.go
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 /models/issue_assignees.go
parent67b316a954b161cac27e16b6455837881919dd94 (diff)
downloadgitea-43ada6557135919b354d7384c4be699b539b10cb.tar.gz
gitea-43ada6557135919b354d7384c4be699b539b10cb.zip
remove unused method and rename createcommentWithNoAction (#9367)
Diffstat (limited to 'models/issue_assignees.go')
-rw-r--r--models/issue_assignees.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_assignees.go b/models/issue_assignees.go
index 1eee9d7769..f03980193f 100644
--- a/models/issue_assignees.go
+++ b/models/issue_assignees.go
@@ -140,7 +140,7 @@ func (issue *Issue) toggleAssignee(sess *xorm.Session, doer *User, assigneeID in
AssigneeID: assigneeID,
}
// Comment
- comment, err = createCommentWithNoAction(sess, opts)
+ comment, err = createComment(sess, opts)
if err != nil {
return false, nil, fmt.Errorf("createComment: %v", err)
}