Page MenuHomePhabricator

D15942.diff
No OneTemporary

D15942.diff

diff --git a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
--- a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
+++ b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
@@ -613,7 +613,14 @@
case PhabricatorObjectMentionsObjectEdgeType::EDGECONST:
case PhabricatorObjectMentionedByObjectEdgeType::EDGECONST:
return true;
- break;
+ case PhabricatorProjectObjectHasProjectEdgeType::EDGECONST:
+ // When an object is first created, we hide any corresponding
+ // project transactions in the web UI because you can just look at
+ // the UI element elsewhere on screen to see which projects it
+ // is tagged with. However, in mail there's no other way to get
+ // this information, and it has some amount of value to users, so
+ // we keep the transaction. See T10493.
+ return false;
default:
break;
}

File Metadata

Mime Type
text/plain
Expires
Tue, May 14, 10:36 PM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6284314
Default Alt Text
D15942.diff (1 KB)

Event Timeline