Commit 039996bd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix invalid method call for gitolite

parent f778886ecc5f
......@@ -264,7 +264,7 @@ def transfer(new_namespace)
Gitlab::ProjectMover.new(self, old_dir, new_dir).execute
git_host.move_repository(old_repo, self.path_with_namespace, self)
git_host.move_repository(old_repo, self)
save!
end
......
......@@ -26,10 +26,10 @@ def update_repository project
config.update_project!(project)
end
def move_repository(old_repo, new_repo, project)
def move_repository(old_repo, project)
config.apply do |config|
config.clean_repo(old_repo)
config.update_project(new_repo, project)
config.update_project(project)
end
end
......
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