notification on project moving
This commit is contained in:
parent
8f3f6e9efb
commit
c8fb972606
|
@ -43,6 +43,9 @@ module Projects
|
|||
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')
|
||||
|
|
Loading…
Reference in New Issue