summaryrefslogtreecommitdiff
path: root/lib/gitlab/github_import/parallel_importer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/github_import/parallel_importer.rb')
-rw-r--r--lib/gitlab/github_import/parallel_importer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/github_import/parallel_importer.rb b/lib/gitlab/github_import/parallel_importer.rb
index 8fb99c996b3..1b4750da868 100644
--- a/lib/gitlab/github_import/parallel_importer.rb
+++ b/lib/gitlab/github_import/parallel_importer.rb
@@ -5,8 +5,6 @@ module Gitlab
# The ParallelImporter schedules the importing of a GitHub project using
# Sidekiq.
class ParallelImporter
- prepend_if_ee('::EE::Gitlab::GithubImport::ParallelImporter') # rubocop: disable Cop/InjectEnterpriseEditionModule
-
attr_reader :project
def self.async?
@@ -41,3 +39,5 @@ module Gitlab
end
end
end
+
+Gitlab::GithubImport::ParallelImporter.prepend_if_ee('::EE::Gitlab::GithubImport::ParallelImporter')