From aaeef295bb07b281fe0554aa6e97f24596d073aa Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 5 Nov 2019 19:04:08 +0800 Subject: Move pull webhook to notification (#8805) * Move pull webhook to notification * fix fmt --- modules/notification/base/null.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/notification/base/null.go') diff --git a/modules/notification/base/null.go b/modules/notification/base/null.go index c10e1b6340..5b6359cbd5 100644 --- a/modules/notification/base/null.go +++ b/modules/notification/base/null.go @@ -46,6 +46,10 @@ func (*NullNotifier) NotifyPullRequestReview(pr *models.PullRequest, r *models.R func (*NullNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseRepo *git.Repository) { } +// NotifyPullRequestSynchronized places a place holder function +func (*NullNotifier) NotifyPullRequestSynchronized(doer *models.User, pr *models.PullRequest) { +} + // NotifyUpdateComment places a place holder function func (*NullNotifier) NotifyUpdateComment(doer *models.User, c *models.Comment, oldContent string) { } -- cgit v1.2.3