diff options
Diffstat (limited to 'lib/bulk_imports/features.rb')
-rw-r--r-- | lib/bulk_imports/features.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/bulk_imports/features.rb b/lib/bulk_imports/features.rb deleted file mode 100644 index 9fdceb03655..00000000000 --- a/lib/bulk_imports/features.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module BulkImports - module Features - def self.project_migration_enabled?(destination_namespace = nil) - 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 - end - end -end |