Commit ba0c741f authored by Kassio Borges's avatar Kassio Borges

Prepare group import feature to use ndjson

parent f2b6fadd
......@@ -53,7 +53,7 @@ module Groups
end
def ndjson?
::Feature.enabled?(:group_import_ndjson, @group&.parent) &&
::Feature.enabled?(:group_import_ndjson, @group&.parent, default_enabled: true) &&
File.exist?(File.join(@shared.export_path, 'tree/groups/_all.ndjson'))
end
......
---
title: Prepare group import feature to use ndjson
merge_request: 31741
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment