From beab2df1227f9b7e556aa5716d94feb3a3e2088e Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 13 Jan 2019 22:42:55 +0800 Subject: Refactor mail notification (#5110) * mail notification implement interface * fix file comment year * use NullNotifier as parent struct of notifiers --- models/pull.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'models/pull.go') diff --git a/models/pull.go b/models/pull.go index cd21e494a2..d7e11de032 100644 --- a/models/pull.go +++ b/models/pull.go @@ -845,8 +845,6 @@ func NewPullRequest(repo *Repository, pull *Issue, labelIDs []int64, uuids []str IsPrivate: repo.IsPrivate, }); err != nil { log.Error(4, "NotifyWatchers: %v", err) - } else if err = pull.MailParticipants(); err != nil { - log.Error(4, "MailParticipants: %v", err) } pr.Issue = pull -- cgit v1.2.3