Skip to content

Commit 62c0009

Browse files
committed
Delete object to cleanup leftover of paths when removing directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 2429e8b commit 62c0009

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/files_external/lib/Lib/Storage/AmazonS3.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ private function batchDelete($path = null) {
314314
}
315315
// we reached the end when the list is no longer truncated
316316
} while ($objects['IsTruncated']);
317+
$this->deleteObject($path);
317318
} catch (S3Exception $e) {
318319
\OC::$server->getLogger()->logException($e, ['app' => 'files_external']);
319320
return false;

0 commit comments

Comments
 (0)