mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 00:10:57 +01:00
Fix a bad call in file chunk destruction
Summary: This signature changed at some point after I tested things and I didn't catch it. Test Plan: Destroyed a chunked large file with `bin/remove`. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D12152
This commit is contained in:
parent
25767096c9
commit
22b2b8eb89
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue