summaryrefslogtreecommitdiffstats
path: root/modules/notification/webhook
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 /modules/notification/webhook
parent11885daaa0397d02d7acd559234b098dfd239d49 (diff)
downloadgitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.tar.gz
gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.zip
[refactor] notify remove unused praram (#9804)
Diffstat (limited to 'modules/notification/webhook')
-rw-r--r--modules/notification/webhook/webhook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/notification/webhook/webhook.go b/modules/notification/webhook/webhook.go
index 3f993df88e..df41078fb0 100644
--- a/modules/notification/webhook/webhook.go
+++ b/modules/notification/webhook/webhook.go
@@ -523,7 +523,7 @@ func (m *webhookNotifier) NotifyPushCommits(pusher *models.User, repo *models.Re
}
}
-func (*webhookNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseRepo *git.Repository) {
+func (*webhookNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User) {
// Reload pull request information.
if err := pr.LoadAttributes(); err != nil {
log.Error("LoadAttributes: %v", err)