diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-03-25 18:18:26 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-03-25 18:28:39 +0200 |
commit | c8fb972606538298ce000ea16b8037bb6569b63f (patch) | |
tree | 4d8a2822612b178dd530cf38f9e7138eb3216310 /app/services | |
parent | 8f3f6e9efbbacf5e52f98324944f644630da2f18 (diff) | |
download | gitlab-ce-c8fb972606538298ce000ea16b8037bb6569b63f.tar.gz |
notification on project movingnotification_on_project_moving
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/projects/transfer_service.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/services/projects/transfer_service.rb b/app/services/projects/transfer_service.rb index 3372cfc11d0..489e03bd5ef 100644 --- a/app/services/projects/transfer_service.rb +++ b/app/services/projects/transfer_service.rb @@ -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') |