mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user