diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-22 18:28:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-22 18:28:33 +0000 |
commit | 0fc1906201be897fb1d7b1424cd3955f0e224eb4 (patch) | |
tree | 45e2da912130b1764517abc069f55a3c7924ab0d /app/models/setting.rb | |
parent | 2d1866d966d94c688f9cb87c5bf3f096dffac844 (diff) | |
download | redmine-0fc1906201be897fb1d7b1424cd3955f0e224eb4.tar.gz redmine-0fc1906201be897fb1d7b1424cd3955f0e224eb4.zip |
Removed deprecated stuff for Redmine 3.0.
git-svn-id: http://svn.redmine.org/redmine/trunk@13483 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/setting.rb')
-rw-r--r-- | app/models/setting.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/app/models/setting.rb b/app/models/setting.rb index 3881f90f1..c207de22b 100644 --- a/app/models/setting.rb +++ b/app/models/setting.rb @@ -196,27 +196,6 @@ END_SRC a end - def self.commit_fix_keywords - ActiveSupport::Deprecation.warn "Setting.commit_fix_keywords is deprecated and will be removed in Redmine 3" - if commit_update_keywords.is_a?(Array) - commit_update_keywords.first && commit_update_keywords.first['keywords'] - end - end - - def self.commit_fix_status_id - ActiveSupport::Deprecation.warn "Setting.commit_fix_status_id is deprecated and will be removed in Redmine 3" - if commit_update_keywords.is_a?(Array) - commit_update_keywords.first && commit_update_keywords.first['status_id'] - end - end - - def self.commit_fix_done_ratio - ActiveSupport::Deprecation.warn "Setting.commit_fix_done_ratio is deprecated and will be removed in Redmine 3" - if commit_update_keywords.is_a?(Array) - commit_update_keywords.first && commit_update_keywords.first['done_ratio'] - end - end - def self.openid? Object.const_defined?(:OpenID) && self[:openid].to_i > 0 end |