gitlab-org--gitlab-foss/app/workers/concerns/project_start_import.rb
2018-06-27 01:12:01 -07:00

12 lines
231 B
Ruby

# frozen_string_literal: true
# Used in EE by mirroring
module ProjectStartImport
def start(project)
if project.import_started? && project.import_jid == self.jid
return true
end
project.import_start
end
end