summaryrefslogtreecommitdiff
path: root/app/workers/concerns/project_start_import.rb
blob: 46a133db2a1c1490bf0655d40a40b83153a19759 (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(project)
    if project.import_started? && project.import_jid == self.jid
      return true
    end

    project.import_start
  end
end