diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-25 15:32:57 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-25 15:32:57 +0000 |
commit | 8e24d336ca85e1bc24eb09fe12e1697b2543e41e (patch) | |
tree | ad42d003f4400b943b1e2608a6e43d34fc316473 /app | |
parent | 6e584774c435067b8290d2119d84541239de178e (diff) | |
download | redmine-8e24d336ca85e1bc24eb09fe12e1697b2543e41e.tar.gz redmine-8e24d336ca85e1bc24eb09fe12e1697b2543e41e.zip |
Merged r22633 from trunk to 5.1-stable (#40099).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22634 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/users_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 2c274091b..0a84eafb4 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -48,6 +48,7 @@ class UsersController < ApplicationController # API backwards compatibility: handle legacy filter parameters unless request.format.html? if params.include?(:status) && params[:status].blank? + ActiveSupport::Deprecation.warn "Getting all users from API using an empty status param (status=) is deprecated and it will be removed in Redmine 6.0. Please use \"status=*\"." @query.add_filter 'status', '*' end if name = params[:name].presence |