mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-01 07:37:50 +08:00
[refactor] notify remove unused praram (#9804)
This commit is contained in:
@ -147,13 +147,7 @@ func manuallyMerged(pr *models.PullRequest) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
baseGitRepo, err := git.OpenRepository(pr.BaseRepo.RepoPath())
|
||||
if err != nil {
|
||||
log.Error("OpenRepository[%s] : %v", pr.BaseRepo.RepoPath(), err)
|
||||
return false
|
||||
}
|
||||
|
||||
notification.NotifyMergePullRequest(pr, merger, baseGitRepo)
|
||||
notification.NotifyMergePullRequest(pr, merger)
|
||||
|
||||
log.Info("manuallyMerged[%d]: Marked as manually merged into %s/%s by commit id: %s", pr.ID, pr.BaseRepo.Name, pr.BaseBranch, commit.ID.String())
|
||||
return true
|
||||
|
Reference in New Issue
Block a user