gitlab-org--gitlab-foss/app/workers/concerns/project_start_import.rb
2017-10-10 10:13:00 +01:00

9 lines
174 B
Ruby

module ProjectStartImport
def start(project)
if project.import_started? && project.import_jid == self.jid
return true
end
project.import_start
end
end