mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 22:15:23 +01:00
Remove unused method searchable?
on accounts (#19489)
It called the wrong methods, but nothing uses it
This commit is contained in:
parent
09f04d710d
commit
5f733ad83a
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue