diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-28 21:08:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-28 21:08:37 +0300 |
commit | 1ec60cf53bc498b12c597ff0d91434a1bdb7cba9 (patch) | |
tree | f2c1b77f47cab1fb9fd11141337be67b12f2316b /app/services/issues/update_service.rb | |
parent | 1f1e53f43f87cada9b515571cc973e9eadcbc4e4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/issues/update_service.rb')
-rw-r--r-- | app/services/issues/update_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/issues/update_service.rb b/app/services/issues/update_service.rb index ee1a22634af..d59bc0cc970 100644 --- a/app/services/issues/update_service.rb +++ b/app/services/issues/update_service.rb @@ -32,7 +32,7 @@ module Issues old_assignees = old_associations.fetch(:assignees, []) if has_changes?(issue, old_labels: old_labels, old_assignees: old_assignees) - todo_service.mark_pending_todos_as_done(issue, current_user) + todo_service.resolve_todos_for_target(issue, current_user) end if issue.previous_changes.include?('title') || @@ -68,7 +68,7 @@ module Issues end def handle_task_changes(issuable) - todo_service.mark_pending_todos_as_done(issuable, current_user) + todo_service.resolve_todos_for_target(issuable, current_user) todo_service.update_issue(issuable, current_user) end |