diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-03-05 20:37:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 20:37:42 +0100 |
commit | bcbc2a43d4a8913475d47d77cfb5d54b15bfe5cc (patch) | |
tree | ae50a1c4344476421eb36fc254ec9bbcfcfc6f8a /app/presenters/instance_presenter.rb | |
parent | 6a4be4e96677eb3e1303ddcab8f8b4bea7298453 (diff) | |
parent | 0e476f3c4fbbcab9b4895b8abff93075dfd2bf0c (diff) |
Merge pull request #2121 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/presenters/instance_presenter.rb')
-rw-r--r-- | app/presenters/instance_presenter.rb | 4 |
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 |