diff options
Diffstat (limited to 'lib/bulk_imports/groups/stage.rb')
-rw-r--r-- | lib/bulk_imports/groups/stage.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/bulk_imports/groups/stage.rb b/lib/bulk_imports/groups/stage.rb index 0378a9c605d..6928ce43191 100644 --- a/lib/bulk_imports/groups/stage.rb +++ b/lib/bulk_imports/groups/stage.rb @@ -90,13 +90,7 @@ module BulkImports def feature_flag_enabled? destination_namespace = @bulk_import_entity.destination_namespace - if destination_namespace.present? - root_ancestor = Namespace.find_by_full_path(destination_namespace)&.root_ancestor - - ::Feature.enabled?(:bulk_import_projects, root_ancestor) - else - ::Feature.enabled?(:bulk_import_projects) - end + BulkImports::Features.project_migration_enabled?(destination_namespace) end end end |