summaryrefslogtreecommitdiffstats
path: root/services/pull/merge.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-01-16 17:24:20 +0100
committerAntoine GIRARD <sapk@users.noreply.github.com>2020-01-16 17:24:20 +0100
commit06cd3e03a24e23d2d838cda6eb1edd5e7474ad42 (patch)
tree357d85714ac01f66737a26c7a4c72309989ca976 /services/pull/merge.go
parent11885daaa0397d02d7acd559234b098dfd239d49 (diff)
downloadgitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.tar.gz
gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.zip
[refactor] notify remove unused praram (#9804)
Diffstat (limited to 'services/pull/merge.go')
-rw-r--r--services/pull/merge.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/pull/merge.go b/services/pull/merge.go
index f6f0abe836..5e077f6dc0 100644
--- a/services/pull/merge.go
+++ b/services/pull/merge.go
@@ -350,7 +350,7 @@ func Merge(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repositor
log.Error("setMerged [%d]: %v", pr.ID, err)
}
- notification.NotifyMergePullRequest(pr, doer, baseGitRepo)
+ notification.NotifyMergePullRequest(pr, doer)
// Reset cached commit count
cache.Remove(pr.Issue.Repo.GetCommitsCountCacheKey(pr.BaseBranch, true))