Skip to content
Snippets Groups Projects
Unverified Commit 5f733ad8 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

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

It called the wrong methods, but nothing uses it
parent 09f04d71
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment