mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
Clean up for logging
This commit is contained in:
parent
faf4b312d0
commit
724c19d539
@ -33,8 +33,6 @@ class ClientService
|
||||
try {
|
||||
\DB::connection(config('database.default'))->transaction(function () use($amount) {
|
||||
|
||||
nlog("inside transaction - updating balance by {$amount}");
|
||||
|
||||
$this->client = Client::withTrashed()->where('id', $this->client->id)->lockForUpdate()->first();
|
||||
$this->client->balance += $amount;
|
||||
$this->client->save();
|
||||
|
Loading…
Reference in New Issue
Block a user