aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorTeddy Wing2018-02-05 16:54:01 +0100
committerTeddy Wing2018-02-06 10:50:51 +0100
commit2e346505cbf2f82c5aaf6fca37966a39b6c9656c (patch)
tree56e6b1be71d80694a14c9181c4e0c703def2f97a /lib/tasks
parentbe1e4ce05348e722e52c2e68f5b1c1514caa00dd (diff)
downloadchouette-core-2e346505cbf2f82c5aaf6fca37966a39b6c9656c.tar.bz2
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
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/imports.rake6
1 files changed, 3 insertions, 3 deletions
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