aboutsummaryrefslogtreecommitdiffstats
path: root/modules/notification/base/notifier.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification/base/notifier.go')
-rw-r--r--modules/notification/base/notifier.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/notification/base/notifier.go b/modules/notification/base/notifier.go
index 12fde1737d..1c607ded3b 100644
--- a/modules/notification/base/notifier.go
+++ b/modules/notification/base/notifier.go
@@ -6,7 +6,6 @@ package base
import (
"code.gitea.io/gitea/models"
- "code.gitea.io/gitea/modules/git"
"code.gitea.io/gitea/modules/repository"
)
@@ -32,7 +31,7 @@ type Notifier interface {
addedLabels []*models.Label, removedLabels []*models.Label)
NotifyNewPullRequest(*models.PullRequest)
- NotifyMergePullRequest(*models.PullRequest, *models.User, *git.Repository)
+ NotifyMergePullRequest(*models.PullRequest, *models.User)
NotifyPullRequestSynchronized(doer *models.User, pr *models.PullRequest)
NotifyPullRequestReview(*models.PullRequest, *models.Review, *models.Comment)
NotifyPullRequestChangeTargetBranch(doer *models.User, pr *models.PullRequest, oldBranch string)