Remove @rss_*@ deprecated methods (#36806).

git-svn-id: https://svn.redmine.org/redmine/trunk@22416 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2023-11-06 20:36:48 +00:00
parent 63188014b0
commit f0f1d49b56
3 changed files with 0 additions and 29 deletions

View File

@@ -635,21 +635,10 @@ class ApplicationController < ActionController::Base
end
end
def self.accept_rss_auth(*actions)
ActiveSupport::Deprecation.warn "Application#self.accept_rss_auth is deprecated and will be removed in Redmine 6.0. Please use #self.accept_atom_auth instead."
self.class.accept_atom_auth(*actions)
end
def accept_atom_auth?(action=action_name)
self.class.accept_atom_auth.include?(action.to_sym)
end
# TODO: remove in Redmine 6.0
def accept_rss_auth?(action=action_name)
ActiveSupport::Deprecation.warn "Application#accept_rss_auth? is deprecated and will be removed in Redmine 6.0. Please use #accept_atom_auth? instead."
accept_atom_auth?(action)
end
def self.accept_api_auth(*actions)
if actions.any?
self.accept_api_auth_actions = actions