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/ui | |
parent | 11885daaa0397d02d7acd559234b098dfd239d49 (diff) | |
download | gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.tar.gz gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.zip |
[refactor] notify remove unused praram (#9804)
Diffstat (limited to 'modules/notification/ui')
-rw-r--r-- | modules/notification/ui/ui.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/notification/ui/ui.go b/modules/notification/ui/ui.go index f58ebce6d7..a8c904e22c 100644 --- a/modules/notification/ui/ui.go +++ b/modules/notification/ui/ui.go @@ -6,7 +6,6 @@ package ui import ( "code.gitea.io/gitea/models" - "code.gitea.io/gitea/modules/git" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/notification/base" ) @@ -69,7 +68,7 @@ func (ns *notificationService) NotifyIssueChangeStatus(doer *models.User, issue } } -func (ns *notificationService) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, gitRepo *git.Repository) { +func (ns *notificationService) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User) { ns.issueQueue <- issueNotificationOpts{ issueID: pr.Issue.ID, notificationAuthorID: doer.ID, |