Delete object to cleanup leftover of paths when removing directories

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/29158/head
Julius Härtl 4 years ago committed by backportbot[bot]
parent 6bd85614df
commit e08a8bb92f

@ -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…
Cancel
Save