Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / phortune / xaction / PhortuneMerchantPictureTransaction.php
blob7502592b3f802af3bbbe5aaed7552014a2087674
1 <?php
3 final class PhortuneMerchantPictureTransaction
4 extends PhortuneMerchantTransactionType {
6 const TRANSACTIONTYPE = 'merchant:picture';
8 public function generateOldValue($object) {
9 return $object->getProfileImagePHID();
12 public function applyInternalEffects($object, $value) {
13 $object->setProfileImagePHID($value);
16 public function getTitle() {
17 return pht(
18 '%s updated the picture.',
19 $this->renderAuthor());
22 public function getTitleForFeed() {
23 return pht(
24 '%s updated the picture for merchant %s.',
25 $this->renderAuthor(),
26 $this->renderObject());
29 public function getIcon() {
30 return 'fa-camera-retro';