Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / calendar / xaction / PhabricatorCalendarEventDeclineTransaction.php
blob89579a7144f2c66dfd7fdffdd8839ae8cfcc0e84
1 <?php
3 final class PhabricatorCalendarEventDeclineTransaction
4 extends PhabricatorCalendarEventReplyTransaction {
6 const TRANSACTIONTYPE = 'calendar.decline';
8 public function generateNewValue($object, $value) {
9 return PhabricatorCalendarEventInvitee::STATUS_DECLINED;
12 public function getTitle() {
13 return pht(
14 '%s declined this event.',
15 $this->renderAuthor());
18 public function getTitleForFeed() {
19 return pht(
20 '%s declined %s.',
21 $this->renderAuthor(),
22 $this->renderObject());