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

pull/7752/head
guillep2k 6 years ago committed by Lauris BH
parent 4ee8982e91
commit 4f5dbc4d00
  1. 1
      models/repo.go

@ -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)
}

Loading…
Cancel
Save