[import] - fix project import after refactoring

4-1-stable
Erwan Arzur 2013-01-22 19:07:11 +01:00 committed by Alexander frenzel
parent 0ac9dd3243
commit 385a515d2b
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ namespace :gitlab do
:name => path,
}
project = Project.create_by_user(project_params, user)
project = Projects::CreateContext.new(user, project_params).execute
if project.valid?
puts " * Created #{project.name} (#{repo_name})".green