summaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-01-13 22:42:55 +0800
committerLauris BH <lauris@nix.lv>2019-01-13 16:42:55 +0200
commitbeab2df1227f9b7e556aa5716d94feb3a3e2088e (patch)
treeef72c59cc4e3ab7ccaa29ffc5de4d3a4278e348e /models/issue.go
parente5228b8369f7162026b6fa6c1a8a0f07b92d85c7 (diff)
downloadgitea-beab2df1227f9b7e556aa5716d94feb3a3e2088e.tar.gz
gitea-beab2df1227f9b7e556aa5716d94feb3a3e2088e.zip
Refactor mail notification (#5110)
* mail notification implement interface * fix file comment year * use NullNotifier as parent struct of notifiers
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/models/issue.go b/models/issue.go
index c982931c0f..f81281b0e1 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -1121,9 +1121,6 @@ func NewIssue(repo *Repository, issue *Issue, labelIDs []int64, assigneeIDs []in
}); err != nil {
log.Error(4, "NotifyWatchers: %v", err)
}
- if err = issue.MailParticipants(); err != nil {
- log.Error(4, "MailParticipants: %v", err)
- }
mode, _ := AccessLevel(issue.Poster, issue.Repo)
if err = PrepareWebhooks(repo, HookEventIssues, &api.IssuePayload{