Merged r4105 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@4161 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis
2010-09-20 04:07:16 +00:00
parent b0b321bd11
commit 1c63c443b6
45 changed files with 230 additions and 35 deletions
+5
View File
@@ -357,6 +357,11 @@ class Issue < ActiveRecord::Base
def overdue?
!due_date.nil? && (due_date < Date.today) && !status.is_closed?
end
# Does this issue have children?
def children?
!leaf?
end
# Users the issue can be assigned to
def assignable_users