Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13983217
D11380.id27338.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
781 B
Referenced Files
None
Subscribers
None
D11380.id27338.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11380: Policy - add destructible interface
Attached
Detach File
Event Timeline
Log In to Comment