summaryrefslogtreecommitdiffstats
path: root/modules/notification/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification/notification.go')
-rw-r--r--modules/notification/notification.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/notification/notification.go b/modules/notification/notification.go
index ed7204c9e0..8c5d7d6035 100644
--- a/modules/notification/notification.go
+++ b/modules/notification/notification.go
@@ -6,7 +6,6 @@ package notification
import (
"code.gitea.io/gitea/models"
- "code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/notification/action"
"code.gitea.io/gitea/modules/notification/base"
"code.gitea.io/gitea/modules/notification/indexer"
@@ -61,9 +60,9 @@ func NotifyIssueChangeStatus(doer *models.User, issue *models.Issue, actionComme
}
// NotifyMergePullRequest notifies merge pull request to notifiers
-func NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repository) {
+func NotifyMergePullRequest(pr *models.PullRequest, doer *models.User) {
for _, notifier := range notifiers {
- notifier.NotifyMergePullRequest(pr, doer, baseGitRepo)
+ notifier.NotifyMergePullRequest(pr, doer)
}
}