diff --git a/app/models/epp/contact.rb b/app/models/epp/contact.rb index 303113f02..725d8d2a2 100644 --- a/app/models/epp/contact.rb +++ b/app/models/epp/contact.rb @@ -1,8 +1,6 @@ class Epp::Contact < Contact include EppErrors - attr_accessor :current_user - # disable STI, there is type column present self.inheritance_column = :sti_disabled diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index aca475cf5..104abeb57 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -3,7 +3,7 @@ class Epp::Domain < Domain include EppErrors # TODO: remove this spagetti once data in production is correct. - attr_accessor :is_renewal, :is_transfer, :current_user + attr_accessor :is_renewal, :is_transfer before_validation :manage_permissions