From dfc7154767443a21e82531ddfb56c2fc8fb95dda Mon Sep 17 00:00:00 2001
From: Matt Jankowski <matt@jankowski.online>
Date: Tue, 28 Nov 2023 02:43:16 -0500
Subject: [PATCH] Remove unused `cached_filtered_status_page` method from
 accounts controller (#28090)

---
 app/controllers/accounts_controller.rb | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb
index 936973fb2..a34c116a0 100644
--- a/app/controllers/accounts_controller.rb
+++ b/app/controllers/accounts_controller.rb
@@ -96,17 +96,4 @@ class AccountsController < ApplicationController
   def tag_requested?
     request.path.split('.').first.end_with?(Addressable::URI.parse("/tagged/#{params[:tag]}").normalize)
   end
-
-  def cached_filtered_status_page
-    cache_collection_paginated_by_id(
-      filtered_statuses,
-      Status,
-      PAGE_SIZE,
-      params_slice(:max_id, :min_id, :since_id)
-    )
-  end
-
-  def params_slice(*keys)
-    params.slice(*keys).permit(*keys)
-  end
 end