aboutsummaryrefslogtreecommitdiffstats
path: root/modules/notification/indexer/indexer.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification/indexer/indexer.go')
-rw-r--r--modules/notification/indexer/indexer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/notification/indexer/indexer.go b/modules/notification/indexer/indexer.go
index 66614b2c20..453eb0c295 100644
--- a/modules/notification/indexer/indexer.go
+++ b/modules/notification/indexer/indexer.go
@@ -98,6 +98,7 @@ func (r *indexerNotifier) NotifyDeleteComment(doer *models.User, comment *models
func (r *indexerNotifier) NotifyDeleteRepository(doer *models.User, repo *models.Repository) {
issue_indexer.DeleteRepoIssueIndexer(repo)
+ models.DeleteRepoFromIndexer(repo)
}
func (r *indexerNotifier) NotifyIssueChangeContent(doer *models.User, issue *models.Issue, oldContent string) {