Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14059619
D15361.id37038.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
883 B
Referenced Files
None
Subscribers
None
D15361.id37038.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D15361: Don't publish anything for "Disable Mail" / "Enable Mail" on projects
Attached
Detach File
Event Timeline
Log In to Comment