mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
remove updateQuietly(
This commit is contained in:
parent
b8d97a69a2
commit
1c664d5960
@ -156,8 +156,8 @@ class MarkInvoiceDeleted extends AbstractService
|
||||
$this->invoice->number = $number;
|
||||
|
||||
//wipe references to invoices from related entities.
|
||||
$this->invoice->tasks()->updateQuietly(['invoice_id' => null]);
|
||||
$this->invoice->expenses()->updateQuietly(['invoice_id' => null]);
|
||||
$this->invoice->tasks()->update(['invoice_id' => null]);
|
||||
$this->invoice->expenses()->update(['invoice_id' => null]);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user