Remove unused Announcement#time_range? (#28648)

This commit is contained in:
Matt Jankowski
2024-01-08 10:26:30 -05:00
committed by GitHub
parent 3e43cd095c
commit e677eb164c
2 changed files with 0 additions and 30 deletions

View File

@@ -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