Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14360331
D9979.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
905 B
Referenced Files
None
Subscribers
None
D9979.diff
View Options
diff --git a/src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php b/src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php
--- a/src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php
+++ b/src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php
@@ -1,7 +1,9 @@
<?php
final class PhabricatorMetaMTAMailingList extends PhabricatorMetaMTADAO
- implements PhabricatorPolicyInterface {
+ implements
+ PhabricatorPolicyInterface,
+ PhabricatorDestructableInterface {
protected $name;
protected $email;
@@ -40,4 +42,16 @@
return null;
}
+
+/* -( PhabricatorDestructableInterface )----------------------------------- */
+
+
+ public function destroyObjectPermanently(
+ PhabricatorDestructionEngine $engine) {
+
+ $this->openTransaction();
+ $this->delete();
+ $this->saveTransaction();
+ }
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 10:11 AM (17 h, 55 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6913578
Default Alt Text
D9979.diff (905 B)
Attached To
Mode
D9979: Allow mailing lists to be permanently deleted
Attached
Detach File
Event Timeline
Log In to Comment