debian-mirror-gitlab/app/workers/concerns/project_start_import.rb
2019-01-03 12:48:30 +05:30

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