Removed unnecessary setting dependent issue in comment creation

This commit is contained in:
kolaente 2018-06-08 12:53:17 +02:00
parent 990985aa1a
commit 05aaee267c
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

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