Page MenuHomePhabricator

D14973.diff
No OneTemporary

D14973.diff

diff --git a/src/applications/phortune/controller/PhortuneAccountViewController.php b/src/applications/phortune/controller/PhortuneAccountViewController.php
--- a/src/applications/phortune/controller/PhortuneAccountViewController.php
+++ b/src/applications/phortune/controller/PhortuneAccountViewController.php
@@ -132,6 +132,10 @@
$methods = id(new PhortunePaymentMethodQuery())
->setViewer($viewer)
->withAccountPHIDs(array($account->getPHID()))
+ ->withStatuses(
+ array(
+ PhortunePaymentMethod::STATUS_ACTIVE,
+ ))
->execute();
foreach ($methods as $method) {
diff --git a/src/applications/phortune/controller/PhortunePaymentMethodDisableController.php b/src/applications/phortune/controller/PhortunePaymentMethodDisableController.php
--- a/src/applications/phortune/controller/PhortunePaymentMethodDisableController.php
+++ b/src/applications/phortune/controller/PhortunePaymentMethodDisableController.php
@@ -38,11 +38,10 @@
}
return $this->newDialog()
- ->setTitle(pht('Disable Payment Method?'))
- ->setShortTitle(pht('Disable Payment Method'))
+ ->setTitle(pht('Remove Payment Method'))
->appendParagraph(
pht(
- 'Disable the payment method "%s"?',
+ 'Remove the payment method "%s" from your account?',
phutil_tag(
'strong',
array(),
@@ -50,9 +49,9 @@
->appendParagraph(
pht(
'You will no longer be able to make payments using this payment '.
- 'method. Disabled payment methods can not be reactivated.'))
+ 'method.'))
->addCancelButton($account_uri)
- ->addSubmitButton(pht('Disable Payment Method'));
+ ->addSubmitButton(pht('Remove Payment Method'));
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jul 1, 3:25 AM (2 d, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6290219
Default Alt Text
D14973.diff (1 KB)

Event Timeline