Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14010355
D13110.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
776 B
Referenced Files
None
Subscribers
None
D13110.diff
View Options
diff --git a/src/applications/maniphest/storage/ManiphestTask.php b/src/applications/maniphest/storage/ManiphestTask.php
--- a/src/applications/maniphest/storage/ManiphestTask.php
+++ b/src/applications/maniphest/storage/ManiphestTask.php
@@ -352,17 +352,7 @@
PhabricatorDestructionEngine $engine) {
$this->openTransaction();
-
- // TODO: Once this implements PhabricatorTransactionInterface, this
- // will be handled automatically and can be removed.
- $xactions = id(new ManiphestTransaction())->loadAllWhere(
- 'objectPHID = %s',
- $this->getPHID());
- foreach ($xactions as $xaction) {
- $engine->destroyObject($xaction);
- }
-
- $this->delete();
+ $this->delete();
$this->saveTransaction();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 1, 7:14 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6727277
Default Alt Text
D13110.diff (776 B)
Attached To
Mode
D13110: Tidy up ManiphestTask destruction
Attached
Detach File
Event Timeline
Log In to Comment