Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13213070
D17010.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.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
Sat, May 18, 7:20 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6272707
Default Alt Text
D17010.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