mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Story #104525314 - bug fix, now pendingDeleteConfirmation must transit to pendingDelete, or cancel pending
This commit is contained in:
parent
a48abe621e
commit
64b0e391a4
3 changed files with 9 additions and 6 deletions
|
@ -487,9 +487,8 @@ class Epp::Domain < Domain
|
|||
statuses.delete(DomainStatus::PENDING_DELETE_CONFIRMATION)
|
||||
statuses.delete(DomainStatus::PENDING_DELETE)
|
||||
DomainMailer.delete_confirmation(self).deliver_now
|
||||
|
||||
# TODO: confirm that this actually makes sense
|
||||
clean_pendings! if valid? && set_pending_delete!
|
||||
clean_pendings!
|
||||
set_pending_delete!
|
||||
true
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue