gitlab-org--gitlab-foss/app/workers/concerns/project_start_import.rb

13 lines
231 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# Used in EE by mirroring
2017-10-10 05:09:49 -04:00
module ProjectStartImport
def start(project)
if project.import_started? && project.import_jid == self.jid
return true
end
project.import_start
end
end