Backported r8686 from trunk (#10013).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.3-stable@8770 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-02-04 11:17:30 +00:00
parent 6d66abe3ac
commit eb2638a25f
2 changed files with 18 additions and 0 deletions
+4
View File
@@ -56,6 +56,10 @@ class Version < ActiveRecord::Base
effective_date
end
def due_date=(arg)
self.effective_date=(arg)
end
# Returns the total estimated time for this version
# (sum of leaves estimated_hours)
def estimated_hours