Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/next' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
Xziy committed Jan 15, 2025
2 parents fb0f815 + cbcd006 commit 858bcca
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions models/PaymentMethod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,6 @@ let Model = {
return false;
},

/**
* @deprecated, not used
* returns list of externalPaymentId
* @return { name: string, id: string }
*/
async getExternalPaymentMethods(): Promise<ExternalPayment[]> {
// @ts-ignore
let externalPayments = await Settings.get("EXTERNAL_PAYMENTS") ?? [];
if (externalPayments) {
return externalPayments;
} else {
return [];
}
},

/**
* Adds to the list possible to use payment ADAPTERs at their start.
* If the payment method does not dry in the database, it creates it
Expand Down

0 comments on commit 858bcca

Please sign in to comment.