Remove unused `cached_filtered_status_page` method from accounts controller (#28090)

This commit is contained in:
Matt Jankowski 2023-11-28 02:43:16 -05:00 committed by GitHub
parent 2d536bb05f
commit dfc7154767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 13 deletions

View File

@ -96,17 +96,4 @@ class AccountsController < ApplicationController
def tag_requested? def tag_requested?
request.path.split('.').first.end_with?(Addressable::URI.parse("/tagged/#{params[:tag]}").normalize) request.path.split('.').first.end_with?(Addressable::URI.parse("/tagged/#{params[:tag]}").normalize)
end 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 end