mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 17:24:29 -04: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->meta = $payment_meta;
|
||||||
$cgt->save();
|
$cgt->save();
|
||||||
|
|
||||||
|
|
||||||
\Log::error('number of tokens = '. $this->client->gateway_tokens->count());
|
|
||||||
|
|
||||||
if($is_default == 'true' || $this->client->gateway_tokens->count() == 1)
|
if($is_default == 'true' || $this->client->gateway_tokens->count() == 1)
|
||||||
{
|
{
|
||||||
$this->client->gateway_tokens()->update(['is_default'=>0]);
|
$this->client->gateway_tokens()->update(['is_default'=>0]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user