Skip to content

Commit

Permalink
Backport: fix repo_index_status lingering when deleting a repository (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep2k authored and lafriks committed Aug 4, 2019
1 parent 4ee8982 commit 4f5dbc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4f5dbc4

Please sign in to comment.