debian-mirror-gitlab/app/workers/concerns/project_start_import.rb
2018-12-23 12:14:25 +05:30

12 lines
230 B
Ruby

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