Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / conpherence / xaction / ConpherenceThreadPictureTransaction.php
blob65f7deac5e9255a658d4557500fe2cabcb73aaeb
1 <?php
3 final class ConpherenceThreadPictureTransaction
4 extends ConpherenceThreadTransactionType {
6 const TRANSACTIONTYPE = '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 room image.',
19 $this->renderAuthor());
22 public function getTitleForFeed() {
23 return pht(
24 '%s updated the room image for %s.',
25 $this->renderAuthor(),
26 $this->renderObject());