Commit f94b5225 authored by Stan Hu's avatar Stan Hu

Remove merge request deletion code

parent 3fd704b2
......@@ -182,8 +182,6 @@ module Gitlab
target_branch_sha = project.repository.commit(target_branch_sha)&.sha || target_branch_sha
author_id = gitlab_user_id(pull_request.author_email)
project.merge_requests.find_by(iid: pull_request.iid)&.destroy
attributes = {
iid: pull_request.iid,
title: pull_request.title,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment