diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-11 15:09:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-11 15:09:28 +0300 |
commit | 7ca44446277ca15db60b722da28f98f773b8f61a (patch) | |
tree | 7622f430d0431df78dfa34f50efc371458cfb97f /app/workers | |
parent | 3ba6a5a16df690246d30bff1038cbed36a16a493 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/merge_requests/delete_source_branch_worker.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/workers/merge_requests/delete_source_branch_worker.rb b/app/workers/merge_requests/delete_source_branch_worker.rb index 99816d5ed0b..eb83d10af33 100644 --- a/app/workers/merge_requests/delete_source_branch_worker.rb +++ b/app/workers/merge_requests/delete_source_branch_worker.rb @@ -16,6 +16,9 @@ class MergeRequests::DeleteSourceBranchWorker ::Branches::DeleteService.new(merge_request.source_project, user) .execute(merge_request.source_branch) + + ::MergeRequests::RetargetChainService.new(merge_request.source_project, user) + .execute(merge_request) rescue ActiveRecord::RecordNotFound end end |