summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/relation_factory.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-02 10:59:54 +0200
committerJames Lopez <james@jameslopez.es>2016-06-02 10:59:54 +0200
commit102074c80152a0d9b808f3eea78a195234ef80bb (patch)
treef718f0ab28b9ea7a9382d4e0c25b2df41cdfc633 /lib/gitlab/import_export/relation_factory.rb
parent7c8359b7441c2631ceec3bd3783a9761646a9f99 (diff)
downloadgitlab-ce-102074c80152a0d9b808f3eea78a195234ef80bb.tar.gz
more and more refactoring
Diffstat (limited to 'lib/gitlab/import_export/relation_factory.rb')
-rw-r--r--lib/gitlab/import_export/relation_factory.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/relation_factory.rb b/lib/gitlab/import_export/relation_factory.rb
index 2794eafe4b6..cecb4747822 100644
--- a/lib/gitlab/import_export/relation_factory.rb
+++ b/lib/gitlab/import_export/relation_factory.rb
@@ -45,7 +45,7 @@ module Gitlab
if user_admin
relation_hash['author_id'] = members_map.map[old_author_id]
else
- relation_hash['author_id'] = members_map.default_project_member
+ relation_hash['author_id'] = members_map.default_user_id
end
author = relation_hash.delete('author')