Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>tags/v18.0.0beta1
@@ -685,7 +685,6 @@ class AmazonS3 extends \OC\Files\Storage\Common { | |||
$source = fopen($tmpFile, 'r'); | |||
$this->writeObject($path, $source); | |||
$this->invalidateCache($path); | |||
fclose($source); | |||
unlink($tmpFile); | |||
return true; |