Fix rename notification bug (#18011)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2021-12-17 18:59:08 -05:00
1 parent 2051f850ef
commit a15f0cb010
2 files changed
+4 -2

No files matched your search

-2
View File
@@ -148,8 +148,6 @@ func (a *actionNotifier) NotifyNewPullRequest(pull *models.PullRequest, mentions
}
func (a *actionNotifier) NotifyRenameRepository(doer *models.User, repo *models.Repository, oldRepoName string) {
log.Trace("action.ChangeRepositoryName: %s/%s", doer.Name, repo.Name)
if err := models.NotifyWatchers(&models.Action{
ActUserID: doer.ID,
ActUser: doer,