summaryrefslogtreecommitdiff
path: root/app/services/merge_requests/close_service.rb
diff options
context:
space:
mode:
authorJohn Jarvis <jarv@gitlab.com>2019-05-01 09:11:57 +0000
committerJohn Jarvis <jarv@gitlab.com>2019-05-01 09:11:57 +0000
commite7e9897e0a3f8dd73fc442806781887c52170c94 (patch)
treeeb570eb8dde1a63d033acdc7f5cb8a367eeb4fa4 /app/services/merge_requests/close_service.rb
parent6c07afabc9680d407c9f05c6daa136f0dfa52292 (diff)
parent1c63fc3ea8d1b038de6a121d9f084bea3986be7a (diff)
downloadgitlab-ce-e7e9897e0a3f8dd73fc442806781887c52170c94.tar.gz
Merge branch '11-10-stable-patch-4' into '11-10-stable'
Prepare 11.10.4 release See merge request gitlab-org/gitlab-ce!27927
Diffstat (limited to 'app/services/merge_requests/close_service.rb')
-rw-r--r--app/services/merge_requests/close_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/merge_requests/close_service.rb b/app/services/merge_requests/close_service.rb
index 04527bb9713..e77051bb1c9 100644
--- a/app/services/merge_requests/close_service.rb
+++ b/app/services/merge_requests/close_service.rb
@@ -17,6 +17,7 @@ module MergeRequests
execute_hooks(merge_request, 'close')
invalidate_cache_counts(merge_request, users: merge_request.assignees)
merge_request.update_project_counter_caches
+ cleanup_environments(merge_request)
end
merge_request