mirror of
https://gitee.com/gitea/gitea
synced 2025-11-24 18:30:25 +08:00
Backport: fix repo_index_status lingering when deleting a repository (#7738)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user