Object owner changed to actual

This commit is contained in:
Stas 2015-10-21 17:06:21 +03:00
parent f92b6071f1
commit c1d6416bf1

View file

@ -189,7 +189,7 @@ namespace :import do
x.object.authinfopw.try(:strip), x.object.authinfopw.try(:strip),
name, name,
x.organization.try(:strip), x.organization.try(:strip),
x.object.try(:clid), Registrar.find_by(legacy_id: x.object.try(:clid)).try(:id),
user, user,
user, user,
x.country.try(:strip), x.country.try(:strip),
@ -311,7 +311,7 @@ namespace :import do
domains << [ domains << [
x.object_registry.name.try(:strip), x.object_registry.name.try(:strip),
x.object.try(:clid), Registrar.find_by(legacy_id: x.object.try(:clid)).try(:id),
x.object_registry.try(:crdate), x.object_registry.try(:crdate),
x.object_registry.try(:crdate), x.object_registry.try(:crdate),
x.exdate, x.exdate,