From a05655f9f0a1825aa7a03953f4b645e4eae7361f Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 18 Jul 2019 16:54:55 +0800 Subject: [PATCH] remove duplicated webhook trigger (#7511) --- modules/pull/merge.go | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/pull/merge.go b/modules/pull/merge.go index 5685336a2bb91..3b653aac2daaf 100644 --- a/modules/pull/merge.go +++ b/modules/pull/merge.go @@ -49,7 +49,6 @@ func Merge(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repositor } defer func() { - go models.HookQueue.Add(pr.BaseRepo.ID) go models.AddTestPullRequestTask(doer, pr.BaseRepo.ID, pr.BaseBranch, false) }()