mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Transfer: Do not reuse identical contacts
This commit is contained in:
parent
8d3fc07754
commit
9ce85e155f
1 changed files with 0 additions and 2 deletions
|
@ -7,8 +7,6 @@ module Concerns::Contact::Transferable
|
||||||
end
|
end
|
||||||
|
|
||||||
def transfer(new_registrar)
|
def transfer(new_registrar)
|
||||||
return identical(new_registrar) if identical(new_registrar)
|
|
||||||
|
|
||||||
new_contact = self.dup
|
new_contact = self.dup
|
||||||
new_contact.registrar = new_registrar
|
new_contact.registrar = new_registrar
|
||||||
new_contact.original = self
|
new_contact.original = self
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue