Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-11 12:16:03 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-11 12:16:03 +0300
commitbe3d74e096f6b5cb46b5d2440c16383633f1fc06 (patch)
tree351d2afe605fbe2a005315d66d5fba18f031396e /app/services/git_push_service.rb
parent4a7fcc2af6eba65dff48b25c81d5925311fa933d (diff)
Do not call environments service in repository model
Diffstat (limited to 'app/services/git_push_service.rb')
-rw-r--r--app/services/git_push_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/git_push_service.rb b/app/services/git_push_service.rb
index ec1c2f61c27..de313095bed 100644
--- a/app/services/git_push_service.rb
+++ b/app/services/git_push_service.rb
@@ -21,7 +21,7 @@ class GitPushService < BaseService
@project.repository.after_push_commit(branch_name, params[:newrev])
if push_remove_branch?
- @project.repository.after_remove_branch(current_user, branch_name)
+ @project.repository.after_remove_branch
@push_commits = []
elsif push_to_new_branch?
@project.repository.after_create_branch