DEV: Remove deprecated 'desc' parameter from group members endpoint (#22147)
This commit is contained in:
parent
d60c90aef1
commit
517c9e7782
|
@ -242,14 +242,6 @@ class GroupsController < ApplicationController
|
|||
raise Discourse::InvalidParameters.new(:offset) if offset < 0
|
||||
|
||||
dir = (params[:asc] && params[:asc].present?) ? "ASC" : "DESC"
|
||||
if params[:desc]
|
||||
Discourse.deprecate(
|
||||
":desc is deprecated please use :asc instead",
|
||||
output_in_test: true,
|
||||
drop_from: "2.9.0",
|
||||
)
|
||||
dir = (params[:desc] && params[:desc].present?) ? "DESC" : "ASC"
|
||||
end
|
||||
order = "NOT group_users.owner"
|
||||
|
||||
if params[:requesters]
|
||||
|
|
Loading…
Reference in New Issue