gitlab-org--gitlab-foss/app/workers/concerns/project_start_import.rb
Tiago Botelho 4bd8a427d4
Removes all the irrelevant import related code and columns
Clears the import related columns and code from the Project
model over to the ProjectImportState model
2018-11-27 12:58:13 +00:00

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