diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-12-16 14:27:18 -0600 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-12-16 15:27:18 -0500 |
commit | 33662399d59a94436e6acb5e5bf41935dbc75328 (patch) | |
tree | 3914fd76dda578cdb86e4dcfb18ef5638368bd4e | |
parent | 1bbb2a637cf49f14b46bb4d869ef568c4ce6cae7 (diff) | |
download | gitea-33662399d59a94436e6acb5e5bf41935dbc75328.tar.gz gitea-33662399d59a94436e6acb5e5bf41935dbc75328.zip |
Fix double webhook for new PR (#9375)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
-rw-r--r-- | routers/repo/pull.go | 2 |
1 files changed, 0 insertions, 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)) } |