diff options
Diffstat (limited to 'lib/tasks/reflex.rake')
| -rw-r--r-- | lib/tasks/reflex.rake | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/lib/tasks/reflex.rake b/lib/tasks/reflex.rake deleted file mode 100644 index 67496cee0..000000000 --- a/lib/tasks/reflex.rake +++ /dev/null @@ -1,8 +0,0 @@ -namespace :reflex do -  desc "Sync data from Reflex api" -  task sync: :environment  do -    sync = StopAreaReferential.find_by(name: 'Reflex').stop_area_referential_syncs.build -    raise "reflex:sync aborted - There is already an synchronisation in progress" unless sync.valid? -    sync.save if sync.valid? -  end -end | 
