Commit 0136bbbb authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Move OperationService#UserRemoveBranch

Part of: gitlab-org/gitaly#476
parent 790d5147
...@@ -735,7 +735,7 @@ module Gitlab ...@@ -735,7 +735,7 @@ module Gitlab
end end
def rm_branch(branch_name, user:) def rm_branch(branch_name, user:)
gitaly_migrate(:operation_user_delete_branch) do |is_enabled| gitaly_migrate(:operation_user_delete_branch, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled if is_enabled
gitaly_operations_client.user_delete_branch(branch_name, user) gitaly_operations_client.user_delete_branch(branch_name, user)
else else
......
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