mirror of
https://github.com/internetee/registry.git
synced 2025-07-05 10:43:32 +02:00
Merge branch '109818884-server-hold-sets-force_delete_at' into staging
This commit is contained in:
commit
f6dd5793a4
1 changed files with 2 additions and 1 deletions
|
@ -744,7 +744,8 @@ class Domain < ActiveRecord::Base
|
|||
!update.include?(DomainStatus::SERVER_HOLD)
|
||||
|
||||
if self.statuses.include?(DomainStatus::EXPIRED)
|
||||
self.outzone_at = Time.zone.now
|
||||
#self.outzone_at = Time.zone.now + 1.day
|
||||
self.outzone_at = self.valid_to
|
||||
else
|
||||
self.outzone_at = nil
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue