summaryrefslogtreecommitdiffstats
path: root/app/models/version.rb
diff options
context:
space:
mode:
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)