mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
Story #109818884 - set outzone_at when removing serverManualInZone
This commit is contained in:
parent
fcc8bd6f54
commit
47dcca06ba
1 changed files with 2 additions and 0 deletions
|
@ -710,6 +710,8 @@ class Domain < ActiveRecord::Base
|
|||
case s
|
||||
when DomainStatus::PENDING_DELETE
|
||||
self.delete_at = nil
|
||||
when DomainStatus::SERVER_MANUAL_INZONE # removal causes server hold to set
|
||||
self.outzone_at = Time.zone.now if self.force_delete_at.present?
|
||||
# Handle any other special remove cases?
|
||||
# when DomainStatus::FORCE_DELETE unset_force_delete
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue