mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
109228160-date_logic_changed
This commit is contained in:
parent
f606ce4be6
commit
cbf5ac137d
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def delete_candidateable?
|
||||
return false if delete_at > Time.zone.now
|
||||
return false if valid_to.to_date > Date.today
|
||||
return false if statuses.include?(DomainStatus::DELETE_CANDIDATE)
|
||||
return false if statuses.include?(DomainStatus::SERVER_DELETE_PROHIBITED)
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue