diff options
Diffstat (limited to 'models/issue_label.go')
-rw-r--r-- | models/issue_label.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue_label.go b/models/issue_label.go index 1ea0ed85cc..d96152d463 100644 --- a/models/issue_label.go +++ b/models/issue_label.go @@ -433,7 +433,7 @@ func newIssueLabel(e *xorm.Session, issue *Issue, label *Label, doer *User) (err Label: label, Content: "1", } - if _, err = createCommentWithNoAction(e, opts); err != nil { + if _, err = createComment(e, opts); err != nil { return err } @@ -509,7 +509,7 @@ func deleteIssueLabel(e *xorm.Session, issue *Issue, label *Label, doer *User) ( Issue: issue, Label: label, } - if _, err = createCommentWithNoAction(e, opts); err != nil { + if _, err = createComment(e, opts); err != nil { return err } |