[refactor] notify remove unused praram (#9804)

This commit is contained in:
6543 2020-01-16 17:24:20 +01:00 committed by Antoine GIRARD
parent 11885daaa0
commit 06cd3e03a2
9 changed files with 10 additions and 22 deletions

View file

@ -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