Further improve import routine

This commit is contained in:
James Cole
2017-06-21 20:04:35 +02:00
parent a905cce2c9
commit cddaccb7f7
7 changed files with 290 additions and 15 deletions

View File

@@ -64,9 +64,8 @@ class CsvProcessor implements FileProcessorInterface
*/
public function run(): bool
{
// TODO update the job and say we started:
//$this->job->status = 'running';
//$this->job->save();
$this->job->status = 'running';
$this->job->save();
Log::debug('Now in CsvProcessor run(). Job is now running...');
$entries = $this->getImportArray();