@@ -377,18 +377,6 class ApplicationController < ActionController::Base | |||||
377 | :content_type => 'application/atom+xml' |
|
377 | :content_type => 'application/atom+xml' | |
378 | end |
|
378 | end | |
379 |
|
379 | |||
380 | # TODO: remove in Redmine 1.4 |
|
|||
381 | def self.accept_key_auth(*actions) |
|
|||
382 | 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." |
|
|||
383 | accept_rss_auth(*actions) |
|
|||
384 | end |
|
|||
385 |
|
||||
386 | # TODO: remove in Redmine 1.4 |
|
|||
387 | def accept_key_auth_actions |
|
|||
388 | 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." |
|
|||
389 | self.class.accept_rss_auth |
|
|||
390 | end |
|
|||
391 |
|
||||
392 | def self.accept_rss_auth(*actions) |
|
380 | def self.accept_rss_auth(*actions) | |
393 | if actions.any? |
|
381 | if actions.any? | |
394 | write_inheritable_attribute('accept_rss_auth_actions', actions) |
|
382 | write_inheritable_attribute('accept_rss_auth_actions', actions) |
General Comments 0
You need to be logged in to leave comments.
Login now