diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-11-17 14:29:08 +0100 |
---|---|---|
committer | John Molakvoæ (Rebase PR Action) <skjnldsv@users.noreply.github.com> | 2021-08-13 16:34:48 +0000 |
commit | 8a14f64ac2005d972aafce7c84c65b5f964e7c84 (patch) | |
tree | 5dec7ba11ca6ebb2df2d4f321f8acb09278e68c0 /apps/files_external | |
parent | fa56c13484afa1baf908b93ed5b6990c6a0e9ad6 (diff) | |
download | nextcloud-server-8a14f64ac2005d972aafce7c84c65b5f964e7c84.tar.gz nextcloud-server-8a14f64ac2005d972aafce7c84c65b5f964e7c84.zip |
Delete object to cleanup leftover of paths when removing directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/AmazonS3.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php index 32e74250a91..9f121cc880a 100644 --- a/apps/files_external/lib/Lib/Storage/AmazonS3.php +++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php @@ -318,6 +318,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; |