summaryrefslogtreecommitdiffstats
path: root/app/models/enumeration.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-22 18:28:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-22 18:28:33 +0000
commit0fc1906201be897fb1d7b1424cd3955f0e224eb4 (patch)
tree45e2da912130b1764517abc069f55a3c7924ab0d /app/models/enumeration.rb
parent2d1866d966d94c688f9cb87c5bf3f096dffac844 (diff)
downloadredmine-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.rb6
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)