mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 02:47:31 -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) |     public function purge($client) | ||||||
|     { |     { | ||||||
|  |          | ||||||
|  |         nlog("Purging client id => {$client->id}"); | ||||||
|  | 
 | ||||||
|         $client->contacts()->forceDelete(); |         $client->contacts()->forceDelete(); | ||||||
|         $client->tasks()->forceDelete(); |         $client->tasks()->forceDelete(); | ||||||
|         $client->invoices()->forceDelete(); |         $client->invoices()->forceDelete(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user