summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJarka Kadlecova <jarka@gitlab.com>2017-08-16 09:41:52 +0000
committerDouwe Maan <douwe@gitlab.com>2017-08-16 09:41:52 +0000
commit04ee970cc11719f1391207995674d096c48d5afc (patch)
tree8a3180327d5623592c2f69da5f931db652eab27c /app
parentaae23494393b1c2fc93bd9b39fc57aba7b792e63 (diff)
downloadgitlab-ce-04ee970cc11719f1391207995674d096c48d5afc.tar.gz
Don't create event in Merge Request Create Service
Diffstat (limited to 'app')
-rw-r--r--app/services/merge_requests/create_service.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/merge_requests/create_service.rb b/app/services/merge_requests/create_service.rb
index fa0c0b7175c..194413bf321 100644
--- a/app/services/merge_requests/create_service.rb
+++ b/app/services/merge_requests/create_service.rb
@@ -25,7 +25,6 @@ module MergeRequests
end
def after_create(issuable)
- event_service.open_mr(issuable, current_user)
todo_service.new_merge_request(issuable, current_user)
issuable.cache_merge_request_closes_issues!(current_user)
update_merge_requests_head_pipeline(issuable)