Skip to content

Commit

Permalink
remove deprecated WorkShowPresenter#member_presenters_for
Browse files Browse the repository at this point in the history
  • Loading branch information
tamsin johnson authored and tamsin johnson committed Aug 24, 2023
1 parent 6855949 commit eeb3c3e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/presenters/hyrax/work_show_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,16 +190,6 @@ def list_of_item_ids_to_display
paginated_item_list(page_array: authorized_item_ids)
end

##
# @deprecated use `#member_presenters(ids)` instead
#
# @param [Array<String>] ids a list of ids to build presenters for
# @return [Array<presenter_class>] presenters for the array of ids (not filtered by class)
def member_presenters_for(an_array_of_ids)
Deprecation.warn("Use `#member_presenters` instead.")
member_presenters(an_array_of_ids)
end

# @return [Integer] total number of pages of viewable items
def total_pages
(total_items.to_f / rows_from_params.to_f).ceil
Expand Down

0 comments on commit eeb3c3e

Please sign in to comment.