Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/import_export/base/relation_factory.rb')
-rw-r--r--lib/gitlab/import_export/base/relation_factory.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/base/relation_factory.rb b/lib/gitlab/import_export/base/relation_factory.rb
index d1fd45882d3..e3813070aa4 100644
--- a/lib/gitlab/import_export/base/relation_factory.rb
+++ b/lib/gitlab/import_export/base/relation_factory.rb
@@ -158,9 +158,9 @@ module Gitlab
end
def remove_encrypted_attributes!
- return unless relation_class.respond_to?(:encrypted_attributes) && relation_class.encrypted_attributes.any?
+ return unless relation_class.respond_to?(:attr_encrypted_attributes) && relation_class.attr_encrypted_attributes.any?
- relation_class.encrypted_attributes.each_key do |key|
+ relation_class.attr_encrypted_attributes.each_key do |key|
@relation_hash[key.to_s] = nil
end
end