diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-13 19:40:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-13 19:40:18 +0000 |
commit | 354e09811b5d044afb6152efa2cdd38bdeac60a4 (patch) | |
tree | e95e2679ff0575a71b6cdca08510fc5c92e6281a | |
parent | 43c677b4892aed0e6b8168ce9340b8811a3d6027 (diff) | |
download | redmine-354e09811b5d044afb6152efa2cdd38bdeac60a4.tar.gz redmine-354e09811b5d044afb6152efa2cdd38bdeac60a4.zip |
Removed deprecated accept_key_auth methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9392 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/application_controller.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index bdd3e6a9f..5ac72cc70 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -377,18 +377,6 @@ class ApplicationController < ActionController::Base :content_type => 'application/atom+xml' end - # TODO: remove in Redmine 1.4 - def self.accept_key_auth(*actions) - ActiveSupport::Deprecation.warn "ApplicationController.accept_key_auth is deprecated and will be removed in Redmine 1.4. Use accept_rss_auth (or accept_api_auth) instead." - accept_rss_auth(*actions) - end - - # TODO: remove in Redmine 1.4 - def accept_key_auth_actions - ActiveSupport::Deprecation.warn "ApplicationController.accept_key_auth_actions is deprecated and will be removed in Redmine 1.4. Use accept_rss_auth (or accept_api_auth) instead." - self.class.accept_rss_auth - end - def self.accept_rss_auth(*actions) if actions.any? write_inheritable_attribute('accept_rss_auth_actions', actions) |