summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-02-14 13:27:29 +0200
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-02-14 13:27:29 +0200
commit84e7654c1afe9d42c1d96a4b79d49e450d8373eb (patch)
treea61bb54cf0fe7a73c2ab05a8c199a9832f178e76 /lib
parentca5b4e3de225673ff3fbf27f38f83a1d843c152d (diff)
downloadgitlab-ce-84e7654c1afe9d42c1d96a4b79d49e450d8373eb.tar.gz
Remove Gitlab::ImportExport::ProjectCreator class
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/import_export/project_creator.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/gitlab/import_export/project_creator.rb b/lib/gitlab/import_export/project_creator.rb
deleted file mode 100644
index 77bb3ca6581..00000000000
--- a/lib/gitlab/import_export/project_creator.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-module Gitlab
- module ImportExport
- class ProjectCreator
- def initialize(namespace_id, current_user, file, project_path)
- @namespace_id = namespace_id
- @current_user = current_user
- @file = file
- @project_path = project_path
- end
-
- def execute
- ::Projects::CreateService.new(
- @current_user,
- name: @project_path,
- path: @project_path,
- namespace_id: @namespace_id,
- import_type: "gitlab_project",
- import_source: @file
- ).execute
- end
- end
- end
-end