Kaynağa Gözat

Merge pull request #17616 from nextcloud/bug/15486/dont-fclose

Remove superfluous fclose
tags/v18.0.0beta1
Roeland Jago Douma 4 yıl önce
ebeveyn
işleme
4c83e9ce5f
No account linked to committer's email address

+ 0
- 1
apps/files_external/lib/Lib/Storage/AmazonS3.php Dosyayı Görüntüle

@@ -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;

Loading…
İptal
Kaydet