1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

[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

@ -350,7 +350,7 @@ func Merge(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repositor
log.Error("setMerged [%d]: %v", pr.ID, err)
}
notification.NotifyMergePullRequest(pr, doer, baseGitRepo)
notification.NotifyMergePullRequest(pr, doer)
// Reset cached commit count
cache.Remove(pr.Issue.Repo.GetCommitsCountCacheKey(pr.BaseBranch, true))