mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
parent
877e6999dc
commit
41d3e62ad4
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,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