Clean up from debugging

This commit is contained in:
David Bomba 2022-11-10 18:39:21 +11:00
parent 9ac8e8b6de
commit 14569d2d79
2 changed files with 0 additions and 8 deletions

View File

@ -115,14 +115,10 @@ class Csv extends BaseImport implements ImportInterface
$data = $this->getCsvData($entity_type);
nlog($data);
if (is_array($data)) {
$data = $this->preTransformCsv($data, $entity_type);
}
nlog($data);
if (empty($data)) {
$this->entity_count['clients'] = 0;

View File

@ -76,7 +76,6 @@ class CSVIngest implements ShouldQueue
$engine = $this->bootEngine();
foreach (['client', 'product', 'invoice', 'payment', 'vendor', 'expense', 'quote', 'bank_transaction'] as $entity) {
nlog("importing {$entity}");
$engine->import($entity);
}
@ -84,9 +83,6 @@ class CSVIngest implements ShouldQueue
$this->checkContacts();
// if(Ninja::isHosted())
// app('queue.worker')->shouldQuit = 1;
}
private function checkContacts()