summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorguillep2k <github.com@mailfilter.com.ar>2019-08-04 03:53:17 -0300
committerLauris BH <lauris@nix.lv>2019-08-04 09:53:17 +0300
commit09463d17e4370f1826a4573e0e741daff2a7b80e (patch)
treedc792762793bd7fb2dede68f40aeab1303b34076 /models
parent6c0c5c531065dad3c59889e45676b0b0374f39aa (diff)
downloadgitea-09463d17e4370f1826a4573e0e741daff2a7b80e.tar.gz
gitea-09463d17e4370f1826a4573e0e741daff2a7b80e.zip
Fix repo_index_status lingering when deleting a repository (#7734)
Diffstat (limited to 'models')
-rw-r--r--models/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/repo.go b/models/repo.go
index fe296c1a11..20175397af 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -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)
}