mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
parent
b84cbe370c
commit
cda8883406
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def delete_candidateable?
|
||||
return false if delete_at.to_date > Date.today
|
||||
return false if delete_at > Time.zone.now
|
||||
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