Remove unused Announcement#time_range?
(#28648)
This commit is contained in:
parent
3e43cd095c
commit
e677eb164c
2 changed files with 0 additions and 30 deletions
|
@ -54,10 +54,6 @@ class Announcement < ApplicationRecord
|
|||
update!(published: false, scheduled_at: nil)
|
||||
end
|
||||
|
||||
def time_range?
|
||||
starts_at? && ends_at?
|
||||
end
|
||||
|
||||
def mentions
|
||||
@mentions ||= Account.from_text(text)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue