gitlab-org--gitlab-foss/app/workers/concerns/project_start_import.rb

10 lines
174 B
Ruby
Raw Normal View History

2017-10-10 05:09:49 -04:00
module ProjectStartImport
def start(project)
if project.import_started? && project.import_jid == self.jid
return true
end
project.import_start
end
end