From d7ac9727bb5046118915cbb26b2dac1b7b27c9d4 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 22 Nov 2019 01:08:42 +0800 Subject: Move merge actions to notification (#9024) * Move merge actions to notification * Add missing mail notification --- routers/repo/pull.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'routers') diff --git a/routers/repo/pull.go b/routers/repo/pull.go index a1a4e5e2bb..0ff077b462 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -716,8 +716,6 @@ func MergePullRequest(ctx *context.Context, form auth.MergePullRequestForm) { return } - notification.NotifyMergePullRequest(pr, ctx.User, ctx.Repo.GitRepo) - log.Trace("Pull request merged: %d", pr.ID) ctx.Redirect(ctx.Repo.RepoLink + "/pulls/" + com.ToStr(pr.Index)) } -- cgit v1.2.3