Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15449901
D13816.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
881 B
Referenced Files
None
Subscribers
None
D13816.id.diff
View Options
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
@@ -428,21 +428,6 @@
return 'red';
}
break;
- case PhabricatorTransactions::TYPE_SUBSCRIBERS:
- $old = $this->getOldValue();
- $new = $this->getNewValue();
- $add = array_diff($new, $old);
- $rem = array_diff($old, $new);
- if ($add && $rem) {
- return 'green';
- } else if ($add) {
- return 'green';
- } else if ($rem) {
- return 'black';
- } else {
- return null;
- }
- break;
}
return null;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 29 2025, 12:46 PM (5 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7431492
Default Alt Text
D13816.id.diff (881 B)
Attached To
Mode
D13816: Reduce colors in ApplicationTransactions for subscriptions
Attached
Detach File
Event Timeline
Log In to Comment