Change deprecated changed? methods to new in callbacks

This commit is contained in:
Alex Sherman 2020-01-29 15:41:03 +05:00
parent 95ad3086b0
commit 01114386b3
7 changed files with 14 additions and 9 deletions

View file

@ -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