Project

General

Profile

« Previous | Next » 

Revision e361f5c2

Added by Ivan Necas almost 7 years ago

Update the satellite upgrade to new code

View differences:

definitions/procedures/sync_plans/disable.rb
private
def disable_all_enabled_sync_plans
feature(:sync_plans).load_from_storage(storage)
with_spinner('disabling sync plans') do |spinner|
ids = feature(:sync_plans).ids_by_status(true)
feature(:sync_plans).make_disable(ids)
spinner.update "Total #{ids.length} sync plans are now disabled."
end
ensure
feature(:sync_plans).save_to_storage(storage)
end
end
end

Also available in: Unified diff