Commit 65737bd5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #2695 from earzur/hotfix/fix_import_refactoring

[import] - fix project import after refactoring
parents efe2f5f8 621ca86b
...@@ -44,7 +44,7 @@ namespace :gitlab do ...@@ -44,7 +44,7 @@ namespace :gitlab do
:name => path, :name => path,
} }
project = Project.create_by_user(project_params, user) project = Projects::CreateContext.new(user, project_params).execute
if project.valid? if project.valid?
puts " * Created #{project.name} (#{repo_name})".green puts " * Created #{project.name} (#{repo_name})".green
......
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