summaryrefslogtreecommitdiffstats
path: root/routers/repo/pull.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-22 01:08:42 +0800
committertechknowlogick <techknowlogick@gitea.io>2019-11-21 12:08:42 -0500
commitd7ac9727bb5046118915cbb26b2dac1b7b27c9d4 (patch)
treec3a2209dcc3482506045706d426d95b3c83454fb /routers/repo/pull.go
parentd5261b9aab83138e31cbe02b1da9adc658ed400f (diff)
downloadgitea-d7ac9727bb5046118915cbb26b2dac1b7b27c9d4.tar.gz
gitea-d7ac9727bb5046118915cbb26b2dac1b7b27c9d4.zip
Move merge actions to notification (#9024)
* Move merge actions to notification * Add missing mail notification
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go2
1 files changed, 0 insertions, 2 deletions
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))
}