summaryrefslogtreecommitdiffstats
path: root/app/models/version.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/version.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/version.rb')
-rw-r--r--app/models/version.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/models/version.rb b/app/models/version.rb
index 45c7c25a6..878c611ed 100644
--- a/app/models/version.rb
+++ b/app/models/version.rb
@@ -126,12 +126,6 @@ class Version < ActiveRecord::Base
end
end
- # TODO: remove in Redmine 3.0
- def completed_pourcent
- ActiveSupport::Deprecation.warn "Version#completed_pourcent is deprecated and will be removed in Redmine 3.0. Please use #completed_percent instead."
- completed_percent
- end
-
# Returns the percentage of issues that have been marked as 'closed'.
def closed_percent
if issues_count == 0
@@ -141,12 +135,6 @@ class Version < ActiveRecord::Base
end
end
- # TODO: remove in Redmine 3.0
- def closed_pourcent
- ActiveSupport::Deprecation.warn "Version#closed_pourcent is deprecated and will be removed in Redmine 3.0. Please use #closed_percent instead."
- closed_percent
- end
-
# Returns true if the version is overdue: due date reached and some open issues
def overdue?
effective_date && (effective_date < Date.today) && (open_issues_count > 0)