Page MenuHomePhabricator

D15361.id37038.diff
No OneTemporary

D15361.id37038.diff

diff --git a/src/applications/project/storage/PhabricatorProjectTransaction.php b/src/applications/project/storage/PhabricatorProjectTransaction.php
--- a/src/applications/project/storage/PhabricatorProjectTransaction.php
+++ b/src/applications/project/storage/PhabricatorProjectTransaction.php
@@ -69,6 +69,21 @@
return parent::getColor();
}
+ public function shouldHide() {
+ switch ($this->getTransactionType()) {
+ case PhabricatorTransactions::TYPE_EDGE:
+ $edge_type = $this->getMetadataValue('edge:type');
+ switch ($edge_type) {
+ case PhabricatorProjectSilencedEdgeType::EDGECONST:
+ return true;
+ default:
+ break;
+ }
+ }
+
+ return parent::shouldHide();
+ }
+
public function shouldHideForFeed() {
switch ($this->getTransactionType()) {
case self::TYPE_HASWORKBOARD:

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 8:42 PM (7 h, 34 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6753830
Default Alt Text
D15361.id37038.diff (883 B)

Event Timeline