mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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…
Reference in New Issue
Block a user