Skip to content

Commit

Permalink
Remove orphaned update_search_index task
Browse files Browse the repository at this point in the history
It was for the Whoosh search engine, which has been removed
  • Loading branch information
jnm committed Sep 21, 2020
1 parent 8d5bbab commit 80cc5b3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kpi/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 80cc5b3

Please sign in to comment.