diff options
Diffstat (limited to 'models/issue_xref.go')
-rw-r--r-- | models/issue_xref.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/models/issue_xref.go b/models/issue_xref.go index 5cf8f58a0f..104691fe93 100644 --- a/models/issue_xref.go +++ b/models/issue_xref.go @@ -127,13 +127,10 @@ func (issue *Issue) createCrossReferences(e *xorm.Session, ctx *crossReferencesC RefAction: xref.Action, RefIsPull: ctx.OrigIssue.IsPull, } - comment, err := createCommentWithNoAction(e, opts) + _, err := createComment(e, opts) if err != nil { return err } - if err = sendCreateCommentAction(e, opts, comment); err != nil { - return err - } } return nil } |