diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-07-18 16:54:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 16:54:55 +0800 |
commit | 8ea60e7e61ccc3fe680d3e7131f969cc54dbef22 (patch) | |
tree | 9d744a016a93258bb300deaf845e83ae6e09f2ac | |
parent | c5f9c04186b12adaf5a67fe412c865a53079ab94 (diff) | |
download | gitea-8ea60e7e61ccc3fe680d3e7131f969cc54dbef22.tar.gz gitea-8ea60e7e61ccc3fe680d3e7131f969cc54dbef22.zip |
remove duplicated webhook trigger (#7511)
-rw-r--r-- | modules/pull/merge.go | 1 |
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) }() |