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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user