109228160-typo

This commit is contained in:
Stas 2015-12-02 17:32:57 +02:00
parent cbf5ac137d
commit a341eff35a

View file

@ -392,7 +392,7 @@ class Domain < ActiveRecord::Base
end
def delete_candidateable?
return false if valid_to.to_date > Date.today
return false if delete_at.to_date > Date.today
return false if statuses.include?(DomainStatus::DELETE_CANDIDATE)
return false if statuses.include?(DomainStatus::SERVER_DELETE_PROHIBITED)
true