mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Improve domain expiring logic #2909
This commit is contained in:
parent
58249742c1
commit
7064a4b9bc
4 changed files with 46 additions and 24 deletions
|
@ -490,8 +490,8 @@ class Epp::Domain < Domain
|
|||
|
||||
p = self.class.convert_period_to_time(period, unit)
|
||||
self.valid_to = valid_to + p
|
||||
self.outzone_at = valid_to + Setting.expire_warning_period.days
|
||||
self.delete_at = outzone_at + Setting.redemption_grace_period.days
|
||||
self.outzone_at = nil
|
||||
self.delete_at = nil
|
||||
self.period = period
|
||||
self.period_unit = unit
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue