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/enumeration.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/enumeration.rb')
-rw-r--r-- | app/models/enumeration.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb index 8c82a0dc8..9e76211cd 100644 --- a/app/models/enumeration.rb +++ b/app/models/enumeration.rb @@ -103,12 +103,6 @@ class Enumeration < ActiveRecord::Base subclasses end - # TODO: remove in Redmine 3.0 - def self.overridding_change?(new, previous) - ActiveSupport::Deprecation.warn "Enumeration#overridding_change? is deprecated and will be removed in Redmine 3.0. Please use #overriding_change?." - overriding_change?(new, previous) - end - # Does the +new+ Hash override the previous Enumeration? def self.overriding_change?(new, previous) if (same_active_state?(new['active'], previous.active)) && same_custom_values?(new,previous) |