From 72a6394f5793924a36f43be30873fed15610c7b6 Mon Sep 17 00:00:00 2001 From: Stas Date: Tue, 17 Nov 2015 12:46:01 +0200 Subject: [PATCH] 108078584-import_conditions_change --- lib/tasks/import.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake index 2bdcd71d7..49a4dd6b1 100644 --- a/lib/tasks/import.rake +++ b/lib/tasks/import.rake @@ -393,7 +393,7 @@ namespace :import do :domain_contact_maps, nsset: { hosts: :host_ipaddr_maps } ).find_each(batch_size: 10000).with_index do |x, index| - next if existing_domain_ids.include?(x.id) + next if existing_domain_ids.include?(x.id) || Registrar.find_by(legacy_id: x.object.try(:clid)).try(:name) == 'eedirect' count += 1 begin