Skip to content

Commit

Permalink
remove duplicated webhook trigger (go-gitea#7511)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jul 18, 2019
1 parent d372539 commit a05655f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/pull/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}()

Expand Down

0 comments on commit a05655f

Please sign in to comment.