diff options
Diffstat (limited to 'app/services/issues/move_service.rb')
-rw-r--r-- | app/services/issues/move_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/issues/move_service.rb b/app/services/issues/move_service.rb index c1599ceef6e..e26e3d0835b 100644 --- a/app/services/issues/move_service.rb +++ b/app/services/issues/move_service.rb @@ -123,10 +123,10 @@ module Issues end def rewrite_related_issues - source_issue_links = IssueLink.for_source_issue(original_entity) + source_issue_links = IssueLink.for_source(original_entity) source_issue_links.update_all(source_id: new_entity.id) - target_issue_links = IssueLink.for_target_issue(original_entity) + target_issue_links = IssueLink.for_target(original_entity) target_issue_links.update_all(target_id: new_entity.id) end |