debian-mirror-gitlab/app/workers/concerns/project_start_import.rb
2019-02-15 15:39:39 +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