diff --git a/src/applications/files/engine/PhabricatorChunkedFileStorageEngine.php b/src/applications/files/engine/PhabricatorChunkedFileStorageEngine.php index c58de58892..61301bdae5 100644 --- a/src/applications/files/engine/PhabricatorChunkedFileStorageEngine.php +++ b/src/applications/files/engine/PhabricatorChunkedFileStorageEngine.php @@ -51,7 +51,7 @@ final class PhabricatorChunkedFileStorageEngine public function deleteFile($handle) { $engine = new PhabricatorDestructionEngine(); - $chunks = $this->loadAllChunks($handle); + $chunks = $this->loadAllChunks($handle, true); foreach ($chunks as $chunk) { $engine->destroyObject($chunk); }