Read about our upcoming Code of Conduct on this issue

Commit b5c032d0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'notification_on_project_moving' into 'master'

Notification on project moving

Moving of project should respect notification settings

https://dev.gitlab.org/gitlab/gitlabhq/issues/2091

See merge request !452
......@@ -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