mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
109818884-outzone_date_change
This commit is contained in:
parent
fe771af0ae
commit
a4adb0fec0
1 changed files with 2 additions and 1 deletions
|
@ -710,7 +710,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