Module: ForemanRhCloud::OrganizationDestroyExtensions

Extended by:
ActiveSupport::Concern
Defined in:
lib/foreman_rh_cloud/organization_destroy_extensions.rb

Instance Method Summary collapse

Instance Method Details

#remove_consumers(organization) ⇒ Object



5
6
7
8
# File 'lib/foreman_rh_cloud/organization_destroy_extensions.rb', line 5

def remove_consumers(organization)
  plan_action(ForemanInventoryUpload::Async::DestroyOrganizationHbiHostsJob, organization.id) if ForemanRhCloud.with_iop_smart_proxy?
  super
end