about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2023-02-27 13:03:35 -0500
committerGitHub <noreply@github.com>2023-02-27 19:03:35 +0100
commit055ed5a6166b8b6a5cdde9e8247fd2a606755a65 (patch)
tree29355baa87b5354c5971c3815f8cd5b2ba58c0dd /app
parent9ee83a9f3bf5a20f30bf001019993a2eb262322f (diff)
Remove unused InstancePresenter#sample_accounts method (#23900)
Diffstat (limited to 'app')
-rw-r--r--app/presenters/instance_presenter.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/presenters/instance_presenter.rb b/app/presenters/instance_presenter.rb
index e3ba984f7..50e2a5156 100644
--- a/app/presenters/instance_presenter.rb
+++ b/app/presenters/instance_presenter.rb
@@ -74,10 +74,6 @@ class InstancePresenter < ActiveModelSerializers::Model
     Rails.cache.fetch('distinct_domain_count') { Instance.count }
   end
 
-  def sample_accounts
-    Rails.cache.fetch('sample_accounts', expires_in: 12.hours) { Account.local.discoverable.popular.limit(3) }
-  end
-
   def version
     Mastodon::Version.to_s
   end