Page MenuHomePhabricator

D11380.id27338.diff
No OneTemporary

D11380.id27338.diff

diff --git a/src/applications/policy/storage/PhabricatorPolicy.php b/src/applications/policy/storage/PhabricatorPolicy.php
--- a/src/applications/policy/storage/PhabricatorPolicy.php
+++ b/src/applications/policy/storage/PhabricatorPolicy.php
@@ -2,7 +2,9 @@
final class PhabricatorPolicy
extends PhabricatorPolicyDAO
- implements PhabricatorPolicyInterface {
+ implements
+ PhabricatorPolicyInterface,
+ PhabricatorDestructibleInterface {
const ACTION_ALLOW = 'allow';
const ACTION_DENY = 'deny';
@@ -361,4 +363,15 @@
return null;
}
+
+/* -( PhabricatorDestructibleInterface )----------------------------------- */
+
+
+ public function destroyObjectPermanently(
+ PhabricatorDestructionEngine $engine) {
+
+ $this->delete();
+ }
+
+
}

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 21, 4:52 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733089
Default Alt Text
D11380.id27338.diff (781 B)

Event Timeline