Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove unused method

vishnukvmd60d86a265e28
diff --git a/server/pkg/controller/stripe.go b/server/pkg/controller/stripe.go
index a81f808a7b..4c9fc13180 100644
--- a/server/pkg/controller/stripe.go
+++ b/server/pkg/controller/stripe.go
@@ -735,10 +735,6 @@ func (c *StripeController) CancelSubAndDeleteCustomer(subscription ente.Subscrip
return nil
}
-func isSEPASubscription(stripeSubscription stripe.Subscription) bool {
- return getSubscriptionPaymentMethodType(stripeSubscription) == stripe.PaymentMethodTypeSepaDebit
-}
-
func getSubscriptionPaymentMethodType(stripeSubscription stripe.Subscription) stripe.PaymentMethodType {
if stripeSubscription.DefaultPaymentMethod == nil {
log.Info("No default payment method found")