debian-mirror-gitlab/app/workers/concerns/project_start_import.rb
2018-11-08 19:23:39 +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