mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 00:17:34 -05:00 
			
		
		
		
	Clean up
This commit is contained in:
		
							parent
							
								
									85c645fbeb
								
							
						
					
					
						commit
						bc2feba3fb
					
				@ -174,9 +174,6 @@ class StripePaymentDriver extends BasePaymentDriver
 | 
			
		||||
        $cgt->meta = $payment_meta;
 | 
			
		||||
        $cgt->save();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        \Log::error('number of tokens = '. $this->client->gateway_tokens->count());
 | 
			
		||||
 | 
			
		||||
        if($is_default == 'true' || $this->client->gateway_tokens->count() == 1)
 | 
			
		||||
        {
 | 
			
		||||
            $this->client->gateway_tokens()->update(['is_default'=>0]);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user