Commit c8fb9726 authored by Valery Sizov's avatar Valery Sizov
Browse files

notification on project moving

parent 71c16ddb759f
......@@ -43,6 +43,9 @@ def transfer(project, new_namespace)
project.namespace = new_namespace
project.save!
# Notifications
project.send_move_instructions
# Move main repository
unless gitlab_shell.mv_repository(old_path, new_path)
raise TransferError.new('Cannot move project')
......
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