lib/foreman_tasks/dynflow.rb in foreman-tasks-0.7.17 vs lib/foreman_tasks/dynflow.rb in foreman-tasks-0.7.18

- old
+ new

@@ -41,9 +41,10 @@ @world = world unless config.remote? # don't try to do any rescuing until the tables are properly migrated if !Foreman.in_rake?('db:migrate') && (ForemanTasks::Task.table_exists? rescue(false)) + config.run_on_init_hooks(world) world.auto_execute ForemanTasks::Task::DynflowTask.consistency_check end end end