debian-mirror-gitlab/app/workers/concerns/project_start_import.rb
2018-03-17 18:26:18 +05:30

10 lines
200 B
Ruby

# 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