From 33662399d59a94436e6acb5e5bf41935dbc75328 Mon Sep 17 00:00:00 2001
From: John Olheiser <42128690+jolheiser@users.noreply.github.com>
Date: Mon, 16 Dec 2019 14:27:18 -0600
Subject: [PATCH] Fix double webhook for new PR (#9375)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
---
 routers/repo/pull.go | 2 --
 1 file changed, 2 deletions(-)

diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index f8612d2b3b..fdce18f7a4 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -818,8 +818,6 @@ func CompareAndPullRequestPost(ctx *context.Context, form auth.CreateIssueForm)
 		return
 	}
 
-	notification.NotifyNewPullRequest(pullRequest)
-
 	log.Trace("Pull request created: %d/%d", repo.ID, pullIssue.ID)
 	ctx.Redirect(ctx.Repo.RepoLink + "/pulls/" + com.ToStr(pullIssue.Index))
 }