summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/importer.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-14 21:03:14 +0200
committerJames Lopez <james@jameslopez.es>2016-06-14 21:03:14 +0200
commitff44198e17320c50ab9b4dc75ce72ad1be01ae52 (patch)
tree34b36cd920e36226ad5644c067b062b377564e8e /lib/gitlab/import_export/importer.rb
parentb53ed84843b97c45bb19095cd2c7e0e8c86eb41a (diff)
downloadgitlab-ce-ff44198e17320c50ab9b4dc75ce72ad1be01ae52.tar.gz
few fixes after refactoring the whole UI stuff
Diffstat (limited to 'lib/gitlab/import_export/importer.rb')
-rw-r--r--lib/gitlab/import_export/importer.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/importer.rb b/lib/gitlab/import_export/importer.rb
index 4db9410bba1..e39bdb5084d 100644
--- a/lib/gitlab/import_export/importer.rb
+++ b/lib/gitlab/import_export/importer.rb
@@ -15,8 +15,6 @@ module Gitlab
if check_version! && [project_tree, repo_restorer, wiki_restorer, uploads_restorer].all?(&:restore)
project_tree.restored_project
else
- project_tree.restored_project.destroy if project_tree.restored_project
-
raise Projects::ImportService::Error.new, @shared.errors.join(', ')
end
end