Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / nuance / xaction / NuanceItemStatusTransaction.php
blob48c5a16e8ccac6ae3bc12cb8233bdcbed1570c8f
1 <?php
3 final class NuanceItemStatusTransaction
4 extends NuanceItemTransactionType {
6 const TRANSACTIONTYPE = 'nuance.item.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 item from %s to %s.',
19 $this->renderAuthor(),
20 $this->renderOldValue(),
21 $this->renderNewValue());