From 80cc5b33af95b52918d904f9721e83bdccc206fb Mon Sep 17 00:00:00 2001 From: "John N. Milner" Date: Mon, 21 Sep 2020 17:52:01 -0400 Subject: [PATCH] Remove orphaned `update_search_index` task It was for the Whoosh search engine, which has been removed --- kpi/tasks.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kpi/tasks.py b/kpi/tasks.py index 94d61dfc15..ed71ae1bbc 100644 --- a/kpi/tasks.py +++ b/kpi/tasks.py @@ -5,11 +5,6 @@ from kpi.models import ImportTask, ExportTask -@shared_task -def update_search_index(): - call_command('update_index', using=['default',], remove=True) - - @shared_task def import_in_background(import_task_uid): import_task = ImportTask.objects.get(uid=import_task_uid)