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/mail | |
parent | 11885daaa0397d02d7acd559234b098dfd239d49 (diff) | |
download | gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.tar.gz gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.zip |
[refactor] notify remove unused praram (#9804)
Diffstat (limited to 'modules/notification/mail')
-rw-r--r-- | modules/notification/mail/mail.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/notification/mail/mail.go b/modules/notification/mail/mail.go index 6cc6fda14b..ec7d9d617e 100644 --- a/modules/notification/mail/mail.go +++ b/modules/notification/mail/mail.go @@ -8,7 +8,6 @@ import ( "fmt" "code.gitea.io/gitea/models" - "code.gitea.io/gitea/modules/git" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/notification/base" "code.gitea.io/gitea/services/mailer" @@ -101,7 +100,7 @@ func (m *mailNotifier) NotifyIssueChangeAssignee(doer *models.User, issue *model } } -func (m *mailNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseRepo *git.Repository) { +func (m *mailNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User) { if err := pr.LoadIssue(); err != nil { log.Error("pr.LoadIssue: %v", err) return |