summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-25 23:19:30 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-25 23:19:30 -0300
commitf184cb433b90e5b03d8a2ecf9916e7a1bfda5ee9 (patch)
treec5f8fcf1ef3e24d293b7dd191851c091cb5633f3 /lib
parent70d15ae1d968070e82028dd48c15c363ac9f8fa9 (diff)
downloadgitlab-ce-f184cb433b90e5b03d8a2ecf9916e7a1bfda5ee9.tar.gz
Fix undefined attribute params from import task
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/import.rake1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake
index 897b2f04ce1..e22424c98d3 100644
--- a/lib/tasks/import.rake
+++ b/lib/tasks/import.rake
@@ -71,7 +71,6 @@ class GithubImport
return @current_user.namespace if names == @current_user.namespace_path
return @current_user.namespace unless @current_user.can_create_group?
- names = params[:target_namespace].presence || names
full_path_namespace = Namespace.find_by_full_path(names)
return full_path_namespace if full_path_namespace