aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index da1ee14996..56245a8766 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -681,9 +681,6 @@ func CompareAndPullRequestPost(ctx *context.Context, form auth.CreateIssueForm)
} else if err := pullRequest.PushToBaseRepo(); err != nil {
ctx.Handle(500, "PushToBaseRepo", err)
return
- } else if err := MailWatchersAndMentions(ctx, pullIssue); err != nil {
- ctx.Handle(500, "MailWatchersAndMentions", err)
- return
}
log.Trace("Pull request created: %d/%d", repo.ID, pullIssue.ID)