diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-03 21:09:25 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-03 21:09:25 +0000 |
commit | 456ab418aad4faa85ad1ad442d0745e6cfe160d6 (patch) | |
tree | 0b0ef49023e178616449a2658136093ff36f7ab8 /app/services/merge_requests/create_service.rb | |
parent | 03717bbc9fa4112a0cbc48f613f416f2aa1c6cbb (diff) | |
download | gitlab-ce-456ab418aad4faa85ad1ad442d0745e6cfe160d6.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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/services/merge_requests/create_service.rb b/app/services/merge_requests/create_service.rb index 75e1adec41b..39e1594d215 100644 --- a/app/services/merge_requests/create_service.rb +++ b/app/services/merge_requests/create_service.rb @@ -4,6 +4,7 @@ module MergeRequests class CreateService < MergeRequests::BaseService def execute set_projects! + set_default_attributes! merge_request = MergeRequest.new merge_request.target_project = @project @@ -61,6 +62,10 @@ module MergeRequests raise Gitlab::Access::AccessDeniedError end end + + def set_default_attributes! + # Implemented in EE + end end end |