Page MenuHomePhorge

D25678.1734724021.diff
No OneTemporary

D25678.1734724021.diff

diff --git a/src/applications/maniphest/xaction/ManiphestTaskPointsTransaction.php b/src/applications/maniphest/xaction/ManiphestTaskPointsTransaction.php
--- a/src/applications/maniphest/xaction/ManiphestTaskPointsTransaction.php
+++ b/src/applications/maniphest/xaction/ManiphestTaskPointsTransaction.php
@@ -33,6 +33,11 @@
'%s set the point value for this task to %s.',
$this->renderAuthor(),
$this->renderNewValue());
+ } else if ($new === null && $old !== null) {
+ return pht(
+ '%s removed the point value %s for this task.',
+ $this->renderAuthor(),
+ $this->renderOldValue());
} else if ($new === null) {
return pht(
'%s removed the point value for this task.',
diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldDate.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldDate.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldDate.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldDate.php
@@ -177,6 +177,12 @@
$xaction->renderHandleLink($author_phid),
$this->getFieldName(),
$new_date);
+ } else if (!$new && $old) {
+ return pht(
+ '%s removed %s which was set to %s.',
+ $xaction->renderHandleLink($author_phid),
+ $this->getFieldName(),
+ $old_date);
} else if (!$new) {
return pht(
'%s removed %s.',

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 19:47 (15 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015617
Default Alt Text
D25678.1734724021.diff (1 KB)

Event Timeline