mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Added delete confirm email #2786
This commit is contained in:
parent
5883452fa2
commit
f89992d120
6 changed files with 70 additions and 2 deletions
|
@ -438,6 +438,7 @@ class Epp::Domain < Domain
|
|||
user = ApiUser.find(pending_json['current_user_id'])
|
||||
frame = Nokogiri::XML(pending_json['frame'])
|
||||
statuses.delete(DomainStatus::PENDING_DELETE)
|
||||
DomainMailer.delete_confirmation(self).deliver_now
|
||||
|
||||
clean_pendings! if epp_destroy(frame, user, false)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue