diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-01 09:09:05 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-01 09:09:05 +0000 |
commit | cfec4ed6fe77e4150b1ea83b87f407aa0cca944c (patch) | |
tree | 8f2cf5061069c29de33b336a9119a1e0b7e550e1 /app/services/merge_requests/create_service.rb | |
parent | 2db9c1eee29dbd6e2592627bca55fa084f36d6d5 (diff) | |
download | gitlab-ce-cfec4ed6fe77e4150b1ea83b87f407aa0cca944c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/merge_requests/create_service.rb')
-rw-r--r-- | app/services/merge_requests/create_service.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/services/merge_requests/create_service.rb b/app/services/merge_requests/create_service.rb index ac84a13f437..f685cc03819 100644 --- a/app/services/merge_requests/create_service.rb +++ b/app/services/merge_requests/create_service.rb @@ -18,12 +18,6 @@ module MergeRequests # be performed in Sidekiq NewMergeRequestWorker.perform_async(issuable.id, current_user.id) - todo_service.new_merge_request(issuable, current_user) - issuable.cache_merge_request_closes_issues!(current_user) - - Gitlab::UsageDataCounters::MergeRequestCounter.count(:create) - link_lfs_objects(issuable) - super end @@ -54,10 +48,6 @@ module MergeRequests raise Gitlab::Access::AccessDeniedError end end - - def link_lfs_objects(issuable) - LinkLfsObjectsService.new(issuable.target_project).execute(issuable) - end end end |