Commit d607046d authored by James Lopez's avatar James Lopez

fix merge conflicts

parents 47cd14b5 6a12ff63
...@@ -6,10 +6,6 @@ module Gitlab ...@@ -6,10 +6,6 @@ module Gitlab
File.join(storage_path, relative_path) File.join(storage_path, relative_path)
end end
def project_attributes
%i(name path description issues_enabled wall_enabled merge_requests_enabled wiki_enabled snippets_enabled visibility_level archived)
end
def project_tree_list def project_tree_list
project_tree.map {|r| r.is_a?(Hash) ? r.keys.first : r } project_tree.map {|r| r.is_a?(Hash) ? r.keys.first : r }
end end
......
module Gitlab module Gitlab
module ImportExport module ImportExport
class AttributesFinder class AttributesFinder
def initialize(included_attributes:, excluded_attributes:) def initialize(included_attributes:, excluded_attributes:)
@included_attributes = included_attributes || {} @included_attributes = included_attributes || {}
@excluded_attributes = excluded_attributes || {} @excluded_attributes = excluded_attributes || {}
......
...@@ -22,7 +22,6 @@ included_attributes: ...@@ -22,7 +22,6 @@ included_attributes:
- :path - :path
- :description - :description
- :issues_enabled - :issues_enabled
- :wall_enabled
- :merge_requests_enabled - :merge_requests_enabled
- :wiki_enabled - :wiki_enabled
- :snippets_enabled - :snippets_enabled
......
...@@ -17,11 +17,11 @@ module Gitlab ...@@ -17,11 +17,11 @@ module Gitlab
private private
def build_hash(model_list) def build_hash(model_list)
model_list.map do |model_object_hash| model_list.map do |model_objects|
if model_object_hash.is_a?(Hash) if model_objects.is_a?(Hash)
build_json_config_hash(model_object_hash) build_json_config_hash(model_objects)
else else
@attributes_parser.find(model_object_hash) @attributes_parser.find(model_objects)
end end
end end
end end
......
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