mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Delete object to cleanup leftover of paths when removing directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
6e7ec1dd7a
commit
5d47c68e90
1 changed files with 1 additions and 0 deletions
|
|
@ -314,6 +314,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
|
|||
}
|
||||
// we reached the end when the list is no longer truncated
|
||||
} while ($objects['IsTruncated']);
|
||||
$this->deleteObject($path);
|
||||
} catch (S3Exception $e) {
|
||||
\OC::$server->getLogger()->logException($e, ['app' => 'files_external']);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue