From 2e346505cbf2f82c5aaf6fca37966a39b6c9656c Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 5 Feb 2018 16:54:01 +0100 Subject: imports.rake: Change `abort_old` to `netex_abort_old` After re-reading the ticket, I see now that the aborting of old imports should only apply to `NetexImport`s. Update the code to make this happen. Refs #4963 --- lib/tasks/imports.rake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tasks') diff --git a/lib/tasks/imports.rake b/lib/tasks/imports.rake index fee850b23..9d0fc8726 100644 --- a/lib/tasks/imports.rake +++ b/lib/tasks/imports.rake @@ -4,8 +4,8 @@ namespace :import do ParentImportNotifier.notify_when_finished end - desc "Mark old unfinished imports as 'aborted'" - task abort_old: :environment do - Import.abort_old + desc "Mark old unfinished Netex imports as 'aborted'" + task netex_abort_old: :environment do + NetexImport.abort_old end end -- cgit v1.2.3