Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14361978
D14461.id34976.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D14461.id34976.diff
View Options
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -3756,6 +3756,7 @@
'PhabricatorCustomFieldInterface',
'PhabricatorApplicationTransactionInterface',
'AlmanacPropertyInterface',
+ 'PhabricatorDestructibleInterface',
),
'AlmanacBindingEditController' => 'AlmanacServiceController',
'AlmanacBindingEditor' => 'PhabricatorApplicationTransactionEditor',
diff --git a/src/applications/almanac/storage/AlmanacBinding.php b/src/applications/almanac/storage/AlmanacBinding.php
--- a/src/applications/almanac/storage/AlmanacBinding.php
+++ b/src/applications/almanac/storage/AlmanacBinding.php
@@ -6,7 +6,8 @@
PhabricatorPolicyInterface,
PhabricatorCustomFieldInterface,
PhabricatorApplicationTransactionInterface,
- AlmanacPropertyInterface {
+ AlmanacPropertyInterface,
+ PhabricatorDestructibleInterface {
protected $servicePHID;
protected $devicePHID;
@@ -204,4 +205,14 @@
return $timeline;
}
+/* -( PhabricatorDestructibleInterface )----------------------------------- */
+
+
+ public function destroyObjectPermanently(
+ PhabricatorDestructionEngine $engine) {
+
+ $this->delete();
+ }
+
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 12:14 PM (17 h, 21 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6913950
Default Alt Text
D14461.id34976.diff (1 KB)
Attached To
Mode
D14461: Allow device bindings to be destroyed
Attached
Detach File
Event Timeline
Log In to Comment