Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15334578
D17010.id40926.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
514 B
Referenced Files
None
Subscribers
None
D17010.id40926.diff
View Options
diff --git a/src/applications/herald/phid/HeraldRulePHIDType.php b/src/applications/herald/phid/HeraldRulePHIDType.php
--- a/src/applications/herald/phid/HeraldRulePHIDType.php
+++ b/src/applications/herald/phid/HeraldRulePHIDType.php
@@ -38,6 +38,10 @@
$handle->setName($monogram);
$handle->setFullName("{$monogram} {$name}");
$handle->setURI("/{$monogram}");
+
+ if ($rule->getIsDisabled()) {
+ $handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED);
+ }
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 9, 10:24 AM (2 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7388254
Default Alt Text
D17010.id40926.diff (514 B)
Attached To
Mode
D17010: In Remarkup, render archived Herald rules with strikethrough for consistency
Attached
Detach File
Event Timeline
Log In to Comment