Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / nuance / xaction / NuanceItemCommandTransaction.php
blob6aa1d6473f889f8f69328da10c96bff210bdc670
1 <?php
3 final class NuanceItemCommandTransaction
4 extends NuanceItemTransactionType {
6 const TRANSACTIONTYPE = 'nuance.item.command';
8 public function generateOldValue($object) {
9 return null;
12 public function getTitle() {
13 $spec = $this->getNewValue();
14 $command_key = idx($spec, 'command', '???');
16 return pht(
17 '%s applied a "%s" command to this item.',
18 $this->renderAuthor(),
19 $command_key);