summaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index e83e08989..9bd6b831a 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -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