diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-11 12:16:03 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-11 12:16:03 +0300 |
commit | be3d74e096f6b5cb46b5d2440c16383633f1fc06 (patch) | |
tree | 351d2afe605fbe2a005315d66d5fba18f031396e /app/services/git_push_service.rb | |
parent | 4a7fcc2af6eba65dff48b25c81d5925311fa933d (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.rb | 2 |
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 |