diff options
author | James Lopez <james@jameslopez.es> | 2017-02-01 14:09:02 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-02-07 13:06:05 +0300 |
commit | 8409340b3b3c6e57285a30a585c1f6fb957cd6da (patch) | |
tree | cfa36c750654c2f7b8caa81f30801f5b41583fcd /lib/gitlab/import_export/relation_factory.rb | |
parent | 572fb0be9b1d45437b7c0ed1000399657f471ec7 (diff) |
Add missing group members to export for I/E
Diffstat (limited to 'lib/gitlab/import_export/relation_factory.rb')
-rw-r--r-- | lib/gitlab/import_export/relation_factory.rb | 2 |
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 0319d7707a8..fae792237d9 100644 --- a/lib/gitlab/import_export/relation_factory.rb +++ b/lib/gitlab/import_export/relation_factory.rb @@ -89,7 +89,7 @@ module Gitlab end def has_author?(old_author_id) - admin_user? && @members_mapper.map.keys.include?(old_author_id) + admin_user? && @members_mapper.include?(old_author_id) end def missing_author_note(updated_at, author_name) |