Page MenuHomePhabricator

D13110.diff
No OneTemporary

D13110.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, Sep 21, 3:31 PM (21 h, 41 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6625940
Default Alt Text
D13110.diff (776 B)

Event Timeline