From d801e1829944d190fb7bd8c7ca359e4dcbd2c9e0 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Tue, 23 Jan 2018 16:19:28 +0200 Subject: [PATCH] Remove unused attribute #660 --- .reek | 1 - app/models/contact.rb | 1 - app/models/epp/domain.rb | 1 - 3 files changed, 3 deletions(-) diff --git a/.reek b/.reek index 949072761..66578b0aa 100644 --- a/.reek +++ b/.reek @@ -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 diff --git a/app/models/contact.rb b/app/models/contact.rb index 61a82ae0a..59ead2d77 100644 --- a/app/models/contact.rb +++ b/app/models/contact.rb @@ -79,7 +79,6 @@ class Contact < ActiveRecord::Base PASSPORT = 'passport' attr_accessor :deliver_emails - attr_accessor :domain_transfer # hack but solves problem faster # # STATUSES diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index 3c0c423dc..97eac4e02 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -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