New code for updated import routine.

This commit is contained in:
James Cole
2018-05-01 20:47:38 +02:00
parent cd75224cdd
commit ccda71ff8e
16 changed files with 262 additions and 97 deletions

View File

@@ -356,6 +356,7 @@ class ImportJobRepository implements ImportJobRepositoryInterface
*/
public function setStatus(ImportJob $job, string $status): ImportJob
{
Log::debug(sprintf('Set status of job "%s" to "%s"', $job->key, $status));
$job->status = $status;
$job->save();