Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-03 13:46:00 +0300
committerJames Lopez <james@jameslopez.es>2016-05-03 13:46:00 +0300
commit6139e1433c7f1925a7fc599106656990410a4184 (patch)
treeb67fbbad8839aa9f8ea436ce9ddc5ea51f09aa34 /app/controllers/import
parent9d306eb132bf153a0c93dd870d3a098028f12384 (diff)
fixing some rubucop warnings
Diffstat (limited to 'app/controllers/import')
-rw-r--r--app/controllers/import/gitlab_project_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/import/gitlab_project_controller.rb b/app/controllers/import/gitlab_project_controller.rb
index fa3e0c7876d..ab0da196ac1 100644
--- a/app/controllers/import/gitlab_project_controller.rb
+++ b/app/controllers/import/gitlab_project_controller.rb
@@ -28,12 +28,11 @@ class Import::GitlabProjectController < Import::BaseController
def create
@file = params[:file]
- # @project_name =
repo_owner = current_user.username
@target_namespace = params[:new_namespace].presence || repo_owner
- namespace = get_or_create_namespace || (render and return)
+ # namespace = get_or_create_namespace || (render and return)
@project = Gitlab::ImportExport::ImportService.execute(archive_file: file, owner: repo_owner)
end