4bd8a427d4
Clears the import related columns and code from the Project model over to the ProjectImportState model
12 lines
230 B
Ruby
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
|