diff options
author | 6543 <6543@obermui.de> | 2020-01-16 17:24:20 +0100 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2020-01-16 17:24:20 +0100 |
commit | 06cd3e03a24e23d2d838cda6eb1edd5e7474ad42 (patch) | |
tree | 357d85714ac01f66737a26c7a4c72309989ca976 /modules/notification/notification.go | |
parent | 11885daaa0397d02d7acd559234b098dfd239d49 (diff) | |
download | gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.tar.gz gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.zip |
[refactor] notify remove unused praram (#9804)
Diffstat (limited to 'modules/notification/notification.go')
-rw-r--r-- | modules/notification/notification.go | 5 |
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) } } |