Skip to content
Snippets Groups Projects
Unverified Commit 055ed5a6 authored by Matt Jankowski's avatar Matt Jankowski Committed by GitHub
Browse files

Remove unused InstancePresenter#sample_accounts method (#23900)

parent 9ee83a9f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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