Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/bulk_imports/relation_export_worker.rb')
-rw-r--r--app/workers/bulk_imports/relation_export_worker.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/workers/bulk_imports/relation_export_worker.rb b/app/workers/bulk_imports/relation_export_worker.rb
index b6693f0b07d..531edc6c7a7 100644
--- a/app/workers/bulk_imports/relation_export_worker.rb
+++ b/app/workers/bulk_imports/relation_export_worker.rb
@@ -18,9 +18,7 @@ module BulkImports
portable = portable(portable_id, portable_class)
config = BulkImports::FileTransfer.config_for(portable)
- if Feature.enabled?(:bulk_imports_batched_import_export) &&
- Gitlab::Utils.to_boolean(batched) &&
- config.batchable_relation?(relation)
+ if Gitlab::Utils.to_boolean(batched) && config.batchable_relation?(relation)
BatchedRelationExportService.new(user, portable, relation, jid).execute
else
RelationExportService.new(user, portable, relation, jid).execute