mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-23 08:51:13 +00:00
Don't use an argument to reload.
git-svn-id: http://svn.redmine.org/redmine/trunk@15679 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fb89e8a799
commit
e1a2f30787
@ -1147,7 +1147,8 @@ class Issue < ActiveRecord::Base
|
||||
|
||||
def soonest_start(reload=false)
|
||||
if @soonest_start.nil? || reload
|
||||
dates = relations_to(reload).collect{|relation| relation.successor_soonest_start}
|
||||
relations_to.reload if reload
|
||||
dates = relations_to.collect{|relation| relation.successor_soonest_start}
|
||||
p = @parent_issue || parent
|
||||
if p && Setting.parent_issue_dates == 'derived'
|
||||
dates << p.soonest_start
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user