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:
Diffstat (limited to 'app/services/groups/import_export/import_service.rb')
-rw-r--r--app/services/groups/import_export/import_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/groups/import_export/import_service.rb b/app/services/groups/import_export/import_service.rb
index bf3f09f22d4..f9db552f743 100644
--- a/app/services/groups/import_export/import_service.rb
+++ b/app/services/groups/import_export/import_service.rb
@@ -114,7 +114,7 @@ module Groups
def notify_error!
notify_error
- raise Gitlab::ImportExport::Error.new(shared.errors.to_sentence)
+ raise Gitlab::ImportExport::Error, shared.errors.to_sentence
end
def remove_base_tmp_dir
@@ -124,4 +124,4 @@ module Groups
end
end
-Groups::ImportExport::ImportService.prepend_if_ee('EE::Groups::ImportExport::ImportService')
+Groups::ImportExport::ImportService.prepend_mod_with('Groups::ImportExport::ImportService')