mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove deprecated PostsController#all_reply_ids (#24128)
The PostsController#all_reply_ids was deprecated and marked for removal in 3.0. This PR removes the controller action and the route.
This commit is contained in:
@@ -310,13 +310,6 @@ class PostsController < ApplicationController
|
||||
render json: post.reply_ids(guardian).to_json
|
||||
end
|
||||
|
||||
def all_reply_ids
|
||||
Discourse.deprecate("/posts/:id/reply-ids/all is deprecated.", drop_from: "3.0")
|
||||
|
||||
post = find_post_from_params
|
||||
render json: post.reply_ids(guardian, only_replies_to_single_post: false).to_json
|
||||
end
|
||||
|
||||
def destroy
|
||||
post = find_post_from_params
|
||||
force_destroy = ActiveModel::Type::Boolean.new.cast(params[:force_destroy])
|
||||
|
||||
Reference in New Issue
Block a user