summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-16 16:34:58 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-16 16:34:58 +0200
commit989329c9d9fb28092d8250a86a2dd6f4afc3a445 (patch)
tree94e7541555206de4287fe3f11cd5e005d6f8ae60
parent971e47520f176625efe9c6c0dace7c6325ad89e5 (diff)
downloadgitlab-ce-989329c9d9fb28092d8250a86a2dd6f4afc3a445.tar.gz
Fix refresh service
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/services/merge_requests/refresh_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/merge_requests/refresh_service.rb b/app/services/merge_requests/refresh_service.rb
index 8286beaba63..e903e48e3cd 100644
--- a/app/services/merge_requests/refresh_service.rb
+++ b/app/services/merge_requests/refresh_service.rb
@@ -33,7 +33,7 @@ module MergeRequests
merge_requests.uniq.select(&:source_project).each do |merge_request|
- MergeRequests::PostMergeService
+ MergeRequests::PostMergeService.
new(merge_request.target_project, @current_user).
execute(merge_request)
end