Commit c8fb9726 authored by Valery Sizov's avatar Valery Sizov

notification on project moving

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