summaryrefslogtreecommitdiffstats
path: root/models/issue_comment.go
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2019-11-15 09:59:21 -0300
committerzeripath <art27@cantab.net>2019-11-15 12:59:21 +0000
commit9930d47be2516ba4dc33ddfc382f9a829628929d (patch)
treebafde602be9cc642bfdd6860c92d805c1cce897d /models/issue_comment.go
parent97dc314652422d392b26e7ea1ef3991903c6f22c (diff)
downloadgitea-9930d47be2516ba4dc33ddfc382f9a829628929d.tar.gz
gitea-9930d47be2516ba4dc33ddfc382f9a829628929d.zip
Add review comments to mail notifications (#8996)
Diffstat (limited to 'models/issue_comment.go')
-rw-r--r--models/issue_comment.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/models/issue_comment.go b/models/issue_comment.go
index c7e9e7cdfa..37d4d8c115 100644
--- a/models/issue_comment.go
+++ b/models/issue_comment.go
@@ -1016,10 +1016,6 @@ func fetchCodeCommentsByReview(e Engine, issue *Issue, currentUser *User, review
return nil, err
}
- if err := CommentList(comments).loadPosters(e); err != nil {
- return nil, err
- }
-
if err := issue.loadRepo(e); err != nil {
return nil, err
}