diff --git a/app/models/miq_region.rb b/app/models/miq_region.rb index 6839fe00478..f5b5bc4b8ff 100644 --- a/app/models/miq_region.rb +++ b/app/models/miq_region.rb @@ -160,10 +160,6 @@ def ems_containers ext_management_systems.select { |e| e.kind_of?(ManageIQ::Providers::ContainerManager) } end - def ems_middlewares - ext_management_systems.select { |e| e.kind_of?(ManageIQ::Providers::MiddlewareManager) } - end - def ems_datawarehouses ext_management_systems.select { |e| e.kind_of?(ManageIQ::Providers::DatawarehouseManager) } end diff --git a/app/models/zone.rb b/app/models/zone.rb index f364d0b8953..874f5d982b1 100644 --- a/app/models/zone.rb +++ b/app/models/zone.rb @@ -171,14 +171,6 @@ def ems_containers ext_management_systems.select { |e| e.kind_of?(ManageIQ::Providers::ContainerManager) } end - def ems_middlewares - ext_management_systems.select { |e| e.kind_of?(ManageIQ::Providers::MiddlewareManager) } - end - - def middleware_servers - ems_middlewares.flat_map(&:middleware_servers) - end - def ems_datawarehouses ext_management_systems.select { |e| e.kind_of?(ManageIQ::Providers::DatawarehouseManager) } end