From c66d2a1fc9ebf6eaed2e2046776d72c3118c125f Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 18 May 2018 21:20:48 +0800 Subject: [PATCH] remove unused code --- models/pull.go | 1 - 1 file changed, 1 deletion(-) diff --git a/models/pull.go b/models/pull.go index c33d58cdce958..2217caad25d31 100644 --- a/models/pull.go +++ b/models/pull.go @@ -467,7 +467,6 @@ func (pr *PullRequest) Merge(doer *User, baseGitRepo *git.Repository, mergeStyle Sender: doer.APIFormat(), }); err != nil { log.Error(4, "PrepareWebhooks: %v", err) - return nil } else { go HookQueue.Add(pr.Issue.Repo.ID) }