diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-10-27 19:30:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 19:30:08 +0200 |
commit | 5f733ad83aebbf52361c97059ac95b13d9a7f897 (patch) | |
tree | 50885a80bebda6c1e918c4a1df1a2ff265f71763 /app | |
parent | 09f04d710d2b3acbd604ca1678c59c4bd5edfa78 (diff) |
Remove unused method `searchable?` on accounts (#19489)
It called the wrong methods, but nothing uses it
Diffstat (limited to 'app')
-rw-r--r-- | app/models/account.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/account.rb b/app/models/account.rb index df7fa8d50..3da289fc0 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -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 |