Page MenuHomePhabricator

D13888.id33525.diff
No OneTemporary

D13888.id33525.diff

diff --git a/src/applications/countdown/editor/PhabricatorCountdownEditor.php b/src/applications/countdown/editor/PhabricatorCountdownEditor.php
--- a/src/applications/countdown/editor/PhabricatorCountdownEditor.php
+++ b/src/applications/countdown/editor/PhabricatorCountdownEditor.php
@@ -147,12 +147,10 @@
public function getMailTagsMap() {
return array(
- PhabricatorCountdownTransaction::MAILTAG_TITLE =>
- pht('Someone changes the countdown title.'),
- PhabricatorCountdownTransaction::MAILTAG_DESCRIPTION =>
- pht('Someone changes the countdown description.'),
- PhabricatorCountdownTransaction::MAILTAG_EPOCH =>
- pht('Someone changes the countdown end date.'),
+ PhabricatorCountdownTransaction::MAILTAG_DETAILS =>
+ pht('Someone changes the countdown details.'),
+ PhabricatorCountdownTransaction::MAILTAG_COMMENT =>
+ pht('Someone comments on a countdown.'),
PhabricatorCountdownTransaction::MAILTAG_OTHER =>
pht('Other countdown activity not listed above occurs.'),
);
diff --git a/src/applications/countdown/storage/PhabricatorCountdownTransaction.php b/src/applications/countdown/storage/PhabricatorCountdownTransaction.php
--- a/src/applications/countdown/storage/PhabricatorCountdownTransaction.php
+++ b/src/applications/countdown/storage/PhabricatorCountdownTransaction.php
@@ -7,9 +7,8 @@
const TYPE_EPOCH = 'countdown:epoch';
const TYPE_DESCRIPTION = 'countdown:description';
- const MAILTAG_TITLE = 'countdown:title';
- const MAILTAG_EPOCH = 'countdown:epoch';
- const MAILTAG_DESCRIPTION = 'countdown:description';
+ const MAILTAG_DETAILS = 'countdown:details';
+ const MAILTAG_COMMENT = 'countdown:comment';
const MAILTAG_OTHER = 'countdown:other';
public function getApplicationName() {
@@ -135,14 +134,13 @@
$tags = parent::getMailTags();
switch ($this->getTransactionType()) {
- case self::TYPE_TITLE:
- $tags[] = self::MAILTAG_TITLE;
+ case PhabricatorTransactions::TYPE_COMMENT:
+ $tags[] = self::MAILTAG_COMMENT;
break;
+ case self::TYPE_TITLE:
case self::TYPE_EPOCH:
- $tags[] = self::MAILTAG_EPOCH;
- break;
case self::TYPE_DESCRIPTION:
- $tags[] = self::MAILTAG_DESCRIPTION;
+ $tags[] = self::MAILTAG_DETAILS;
break;
default:
$tags[] = self::MAILTAG_OTHER;

File Metadata

Mime Type
text/plain
Expires
Sun, May 19, 12:48 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6276945
Default Alt Text
D13888.id33525.diff (2 KB)

Event Timeline