From 05aaee267cc4aee24b7485491e220e01936759a1 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 8 Jun 2018 12:53:17 +0200 Subject: [PATCH] Removed unnecessary setting dependent issue in comment creation --- models/issue_comment.go | 1 - 1 file changed, 1 deletion(-) diff --git a/models/issue_comment.go b/models/issue_comment.go index dd4e22810..3d3ebc2bc 100644 --- a/models/issue_comment.go +++ b/models/issue_comment.go @@ -365,7 +365,6 @@ func createComment(e *xorm.Session, opts *CreateCommentOptions) (_ *Comment, err Content: opts.Content, OldTitle: opts.OldTitle, NewTitle: opts.NewTitle, - DependentIssue: opts.DependentIssue, DependentIssueID: depID, } if _, err = e.Insert(comment); err != nil {