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/base/null.go | |
parent | 11885daaa0397d02d7acd559234b098dfd239d49 (diff) | |
download | gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.tar.gz gitea-06cd3e03a24e23d2d838cda6eb1edd5e7474ad42.zip |
[refactor] notify remove unused praram (#9804)
Diffstat (limited to 'modules/notification/base/null.go')
-rw-r--r-- | modules/notification/base/null.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/notification/base/null.go b/modules/notification/base/null.go index 1f90f6519d..f6c423b469 100644 --- a/modules/notification/base/null.go +++ b/modules/notification/base/null.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" ) @@ -44,7 +43,7 @@ func (*NullNotifier) NotifyPullRequestReview(pr *models.PullRequest, r *models.R } // NotifyMergePullRequest places a place holder function -func (*NullNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseRepo *git.Repository) { +func (*NullNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User) { } // NotifyPullRequestSynchronized places a place holder function |