Remove unused method searchable? on accounts (#19489)

It called the wrong methods, but nothing uses it
This commit is contained in:
Eugen Rochko 2022-10-27 19:30:08 +02:00 committed by GitHub
parent ccbf541365
commit c71443ef1d

View file

@ -191,10 +191,6 @@ class Account < ApplicationRecord
"acct:#{local_username_and_domain}"
end
def searchable?
!(suspended? || moved?) && (!local? || (approved? && confirmed?))
end
def possibly_stale?
last_webfingered_at.nil? || last_webfingered_at <= 1.day.ago
end