1
0
Fork 0
forked from forgejo/forgejo

[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

@ -523,7 +523,7 @@ func (m *webhookNotifier) NotifyPushCommits(pusher *models.User, repo *models.Re
}
}
func (*webhookNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User, baseRepo *git.Repository) {
func (*webhookNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *models.User) {
// Reload pull request information.
if err := pr.LoadAttributes(); err != nil {
log.Error("LoadAttributes: %v", err)