aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-07-18 16:54:55 +0800
committerGitHub <noreply@github.com>2019-07-18 16:54:55 +0800
commit8ea60e7e61ccc3fe680d3e7131f969cc54dbef22 (patch)
tree9d744a016a93258bb300deaf845e83ae6e09f2ac
parentc5f9c04186b12adaf5a67fe412c865a53079ab94 (diff)
downloadgitea-8ea60e7e61ccc3fe680d3e7131f969cc54dbef22.tar.gz
gitea-8ea60e7e61ccc3fe680d3e7131f969cc54dbef22.zip
remove duplicated webhook trigger (#7511)
-rw-r--r--modules/pull/merge.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/pull/merge.go b/modules/pull/merge.go
index 5685336a2b..3b653aac2d 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)
}()