Fix repo_index_status lingering when deleting a repository (#7734)
This commit is contained in:
parent
6c0c5c5310
commit
09463d17e4
1 changed files with 1 additions and 0 deletions
|
@ -1800,6 +1800,7 @@ func DeleteRepository(doer *User, uid, repoID int64) error {
|
||||||
&HookTask{RepoID: repoID},
|
&HookTask{RepoID: repoID},
|
||||||
&Notification{RepoID: repoID},
|
&Notification{RepoID: repoID},
|
||||||
&CommitStatus{RepoID: repoID},
|
&CommitStatus{RepoID: repoID},
|
||||||
|
&RepoIndexerStatus{RepoID: repoID},
|
||||||
); err != nil {
|
); err != nil {
|
||||||
return fmt.Errorf("deleteBeans: %v", err)
|
return fmt.Errorf("deleteBeans: %v", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue