Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / phortune / xaction / paymentmethod / PhortunePaymentMethodStatusTransaction.php
blobf53c90057d6f6ad63b2e6980e6ef9efe93292c5e
1 <?php
3 final class PhortunePaymentMethodStatusTransaction
4 extends PhortunePaymentMethodTransactionType {
6 const TRANSACTIONTYPE = 'status';
8 public function generateOldValue($object) {
9 return $object->getStatus();
12 public function applyInternalEffects($object, $value) {
13 $object->setStatus($value);
16 public function getTitle() {
17 return pht(
18 '%s changed the status of this payment method.',
19 $this->renderAuthor());