summaryrefslogtreecommitdiff
path: root/app/workers/concerns/project_start_import.rb
blob: 4462bc51a24925e8b35c2d2b298a5fec1153cc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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