mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Remove Domain#valid_from
As unused. `created_at` is the same value as `valid_from`. #787
This commit is contained in:
parent
de5979790f
commit
2f86b3c76b
11 changed files with 10 additions and 20 deletions
|
@ -54,7 +54,6 @@ class Epp::Domain < Domain
|
|||
domain.attributes = domain.attrs_from(frame, current_user)
|
||||
domain.attach_default_contacts
|
||||
domain.registered_at = Time.zone.now
|
||||
domain.valid_from = Time.zone.now
|
||||
|
||||
period = domain.period.to_i
|
||||
plural_period_unit_name = (domain.period_unit == 'm' ? 'months' : 'years').to_sym
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue