diff --git a/script/bulk_import/base.rb b/script/bulk_import/base.rb index 2346d790c0d..682d5c809b7 100644 --- a/script/bulk_import/base.rb +++ b/script/bulk_import/base.rb @@ -341,9 +341,6 @@ class BulkImport::Base user_email[:email] ||= random_email user_email[:email].downcase! - # unique email - user_email[:email] = random_email until user_email[:email] =~ EmailValidator.email_regex && @emails.add?(user_email[:email]) - user_email end