1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-02 23:58:35 +00:00

Fix rename notification bug (#18011)

This commit is contained in:
Lunny Xiao
2021-12-18 07:59:08 +08:00
committed by GitHub
parent 2051f850ef
commit a15f0cb010
2 changed files with 4 additions and 2 deletions

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,