From 5f733ad83aebbf52361c97059ac95b13d9a7f897 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 27 Oct 2022 19:30:08 +0200 Subject: [PATCH] Remove unused method `searchable?` on accounts (#19489) It called the wrong methods, but nothing uses it --- app/models/account.rb | 4 ---- 1 file changed, 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