Commit 70d74166 authored by Aleksei Lipniagov's avatar Aleksei Lipniagov

Apply review suggestion

parent 72c3030f
......@@ -87,13 +87,13 @@ module Gitlab
# consume and remove objects from memory
while data_hash = data_hashes.shift
remove_feature_dependent_sub_relations!(data_hash)
process_project_relation_item!(relation_key, relation_definition, data_hash)
end
end
def process_project_relation_item!(relation_key, relation_definition, data_hash)
remove_feature_dependent_sub_relations!(data_hash)
relation_object = build_relation(relation_key, relation_definition, data_hash)
return unless relation_object
return if group_model?(relation_object)
......
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