mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Move merge actions to notification (#9024)
* Move merge actions to notification * Add missing mail notification
This commit is contained in:
committed by
techknowlogick
parent
d5261b9aab
commit
d7ac9727bb
@@ -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))
|
||||
}
|
||||
|
Reference in New Issue
Block a user