summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/group/object_builder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/import_export/group/object_builder.rb')
-rw-r--r--lib/gitlab/import_export/group/object_builder.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/gitlab/import_export/group/object_builder.rb b/lib/gitlab/import_export/group/object_builder.rb
index 43cc7a78a61..e26f37c3347 100644
--- a/lib/gitlab/import_export/group/object_builder.rb
+++ b/lib/gitlab/import_export/group/object_builder.rb
@@ -13,21 +13,12 @@ module Gitlab
super
@group = @attributes['group']
-
- update_description
end
private
attr_reader :group
- # Convert description empty string to nil
- # due to existing object being saved with description: nil
- # Which makes object lookup to fail since nil != ''
- def update_description
- attributes['description'] = nil if attributes['description'] == ''
- end
-
def where_clauses
[
where_clause_base,