]> source.dussan.org Git - gitea.git/commitdiff
Fix repo_index_status lingering when deleting a repository (#7734)
authorguillep2k <github.com@mailfilter.com.ar>
Sun, 4 Aug 2019 06:53:17 +0000 (03:53 -0300)
committerLauris BH <lauris@nix.lv>
Sun, 4 Aug 2019 06:53:17 +0000 (09:53 +0300)
models/repo.go

index fe296c1a11a6fe03b14cf483b8b22e22e6befa18..20175397af6aff86836ac3e64e2869005e9681a3 100644 (file)
@@ -1800,6 +1800,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)
        }