mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Clean up from debugging
This commit is contained in:
parent
9ac8e8b6de
commit
14569d2d79
@ -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;
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user