1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 09:44:26 +00:00

Backport: fix repo_index_status lingering when deleting a repository (#7738)

This commit is contained in:
guillep2k 2019-08-04 04:00:03 -03:00 committed by Lauris BH
parent 4ee8982e91
commit 4f5dbc4d00

View File

@ -1791,6 +1791,7 @@ func DeleteRepository(doer *User, uid, repoID int64) error {
&HookTask{RepoID: repoID},
&Notification{RepoID: repoID},
&CommitStatus{RepoID: repoID},
&RepoIndexerStatus{RepoID: repoID},
); err != nil {
return fmt.Errorf("deleteBeans: %v", err)
}