mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:47:32 -05:00 
			
		
		
		
	Filter account deletion emails
This commit is contained in:
		
							parent
							
								
									eaf6d53d8c
								
							
						
					
					
						commit
						653dbc5acc
					
				@ -499,7 +499,7 @@ class CompanyController extends BaseController
 | 
			
		||||
 | 
			
		||||
            $account->delete();
 | 
			
		||||
 | 
			
		||||
            if(Ninja::isHosted())
 | 
			
		||||
            if(Ninja::isHosted() && $request->has('cancellation_message') && strlen($request->input('cancellation_message')) > 1)
 | 
			
		||||
                \Modules\Admin\Jobs\Account\NinjaDeletedAccount::dispatch($account_key, $request->all());
 | 
			
		||||
 | 
			
		||||
            LightLogs::create(new AccountDeleted())
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user