Skip to content

Commit f2f6a89

Browse files
committed
Remove commented out block accidentally left in
1 parent d8db38f commit f2f6a89

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Settings/In-Person Payments/CardPresentPaymentsOnboardingUseCase.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -144,17 +144,6 @@ private extension CardPresentPaymentsOnboardingUseCase {
144144
group.enter()
145145
stores.dispatch(systemPluginsAction)
146146

147-
// // We need to sync payment gateway accounts to see if WCPay is set up correctly
148-
// let paymentGatewayAccountsAction = CardPresentPaymentAction.loadAccounts(siteID: siteID) { result in
149-
// if case let .failure(error) = result {
150-
// DDLogError("[CardPresentPaymentsOnboarding] Error syncing payment gateway accounts: \(error)")
151-
// errors.append(error)
152-
// }
153-
// group.leave()
154-
// }
155-
// group.enter()
156-
// stores.dispatch(paymentGatewayAccountsAction)
157-
158147
group.notify(queue: .main, execute: { [weak self] in
159148
guard let self = self else { return }
160149
if errors.isNotEmpty,

0 commit comments

Comments
 (0)