summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authortsl0922 <tsl0922@gmail.com>2013-02-27 18:27:10 +0800
committertsl0922 <tsl0922@gmail.com>2013-02-27 18:27:10 +0800
commitdf63ab78a8bac8fd7cd2ea2edc7d2c274210602a (patch)
treeb5f00673a8fa9ce589769217e959c163ae7cd87d /app/services
parent135418dcbf72d264a846649b95ea8e6d8a2aadcf (diff)
downloadgitlab-ce-df63ab78a8bac8fd7cd2ea2edc7d2c274210602a.tar.gz
Fix project transfer error
Diffstat (limited to 'app/services')
-rw-r--r--app/services/project_transfer_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/project_transfer_service.rb b/app/services/project_transfer_service.rb
index f91a3cd1992..35d9517ad29 100644
--- a/app/services/project_transfer_service.rb
+++ b/app/services/project_transfer_service.rb
@@ -25,7 +25,7 @@ class ProjectTransferService
Gitlab::ProjectMover.new(project, old_dir, new_dir).execute
- save!
+ project.save!
end
rescue Gitlab::ProjectMover::ProjectMoveError => ex
raise Project::TransferError.new(ex.message)