mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
parent
2e9acedc90
commit
00a30fc019
5 changed files with 7 additions and 11 deletions
|
@ -684,7 +684,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def self.delete_candidates
|
||||
where("#{attribute_alias(:delete_time)} < ?", Time.zone.now)
|
||||
where('delete_at < ?', Time.zone.now)
|
||||
end
|
||||
|
||||
def self.uses_zone?(zone)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue