Remove unused method `searchable?` on accounts (#19489)

It called the wrong methods, but nothing uses it
main
Eugen Rochko 2 years ago committed by GitHub
parent 09f04d710d
commit 5f733ad83a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save