Page MenuHomePhabricator

D9416.id.diff
No OneTemporary

D9416.id.diff

diff --git a/src/applications/herald/storage/HeraldRule.php b/src/applications/herald/storage/HeraldRule.php
--- a/src/applications/herald/storage/HeraldRule.php
+++ b/src/applications/herald/storage/HeraldRule.php
@@ -3,7 +3,8 @@
final class HeraldRule extends HeraldDAO
implements
PhabricatorFlaggableInterface,
- PhabricatorPolicyInterface {
+ PhabricatorPolicyInterface,
+ PhabricatorDestructableInterface {
const TABLE_RULE_APPLIED = 'herald_ruleapplied';
@@ -250,4 +251,15 @@
return null;
}
+
+/* -( PhabricatorDestructableInterface )----------------------------------- */
+
+ public function destroyObjectPermanently(
+ PhabricatorDestructionEngine $engine) {
+
+ $this->openTransaction();
+ $this->delete();
+ $this->saveTransaction();
+ }
+
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 10, 11:49 AM (2 d, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6711208
Default Alt Text
D9416.id.diff (805 B)

Event Timeline