mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Change deprecated changed? methods to new in callbacks
This commit is contained in:
parent
95ad3086b0
commit
01114386b3
7 changed files with 14 additions and 9 deletions
|
@ -182,7 +182,7 @@ class Epp::Contact < Contact
|
|||
|
||||
self.attributes = at
|
||||
|
||||
email_changed = email_changed?
|
||||
email_changed = will_save_change_to_email?
|
||||
old_email = email_was
|
||||
updated = save
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue