Code cleanup.

This commit is contained in:
James Cole
2016-08-12 15:10:03 +02:00
parent 955306d877
commit 5c4d010bde
94 changed files with 106 additions and 363 deletions

View File

@@ -86,6 +86,8 @@ class CsvImporter implements ImporterInterface
// create import object. This is where each entry ends up.
$object = new ImportEntry;
Log::debug(sprintf('Now at row %d', $index));
// set some vars:
$object->setUser($this->job->user);
$config = $this->job->configuration;
@@ -129,4 +131,4 @@ class CsvImporter implements ImporterInterface
return $object;
}
}
}

View File

@@ -32,4 +32,4 @@ interface ImporterInterface
*
*/
public function setJob(ImportJob $job);
}
}