Page MenuHomePhabricator

D13110.id31650.diff
No OneTemporary

D13110.id31650.diff

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

Mime Type
text/plain
Expires
Sat, Oct 19, 6:30 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6727277
Default Alt Text
D13110.id31650.diff (776 B)

Event Timeline