mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Add logging for purging client
This commit is contained in:
parent
644965e1c8
commit
b7c20de7ec
@ -144,6 +144,9 @@ class ClientRepository extends BaseRepository
|
||||
|
||||
public function purge($client)
|
||||
{
|
||||
|
||||
nlog("Purging client id => {$client->id}");
|
||||
|
||||
$client->contacts()->forceDelete();
|
||||
$client->tasks()->forceDelete();
|
||||
$client->invoices()->forceDelete();
|
||||
|
Loading…
x
Reference in New Issue
Block a user