summaryrefslogtreecommitdiffstats
path: root/app/models/issue_relation.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-06-10 05:57:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-06-10 05:57:12 +0000
commitc2bdc811242f35470bb266b808b72fc829b9fbd5 (patch)
tree24c4cb5e0249867246cb60ffc6293d5311197d22 /app/models/issue_relation.rb
parent317ebfb100b4d25d13ec1329d636b67d5adbcc6e (diff)
downloadredmine-c2bdc811242f35470bb266b808b72fc829b9fbd5.tar.gz
redmine-c2bdc811242f35470bb266b808b72fc829b9fbd5.zip
Log automatic rescheduling of following issues to journal (#28649).
git-svn-id: http://svn.redmine.org/redmine/trunk@17373 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_relation.rb')
-rw-r--r--app/models/issue_relation.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/issue_relation.rb b/app/models/issue_relation.rb
index a4ad4163a..be695c13d 100644
--- a/app/models/issue_relation.rb
+++ b/app/models/issue_relation.rb
@@ -180,10 +180,10 @@ class IssueRelation < ActiveRecord::Base
set_issue_to_dates
end
- def set_issue_to_dates
+ def set_issue_to_dates(journal=nil)
soonest_start = self.successor_soonest_start
if soonest_start && issue_to
- issue_to.reschedule_on!(soonest_start)
+ issue_to.reschedule_on!(soonest_start, journal)
end
end