Remove unused attribute

#660
This commit is contained in:
Artur Beljajev 2018-01-23 16:19:28 +02:00
parent 40d64fb65b
commit d801e18299
3 changed files with 0 additions and 3 deletions

1
.reek
View file

@ -1091,7 +1091,6 @@ Attribute:
- BankStatement#th6_file
- Versions#version_loader
- Contact#deliver_emails
- Contact#domain_transfer
- Contact#domains_present
- Contact#legal_document_id
- Counter#value

View file

@ -79,7 +79,6 @@ class Contact < ActiveRecord::Base
PASSPORT = 'passport'
attr_accessor :deliver_emails
attr_accessor :domain_transfer # hack but solves problem faster
#
# STATUSES

View file

@ -655,7 +655,6 @@ class Epp::Domain < Domain
oc.registrar_id = registrar_id
oc.copy_from_id = c.id
oc.generate_code
oc.domain_transfer = true
oc.remove_address unless Contact.address_processing?
oc.save!(validate: false)
oc