From d59291a8e7268f99ea74c2b6f4e2577c2d260ee6 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Mon, 8 Jul 2013 11:16:58 +0200 Subject: [PATCH] remove needless check --- apps/files_external/lib/amazons3.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php index 1c92dfa9995..8b1303381da 100644 --- a/apps/files_external/lib/amazons3.php +++ b/apps/files_external/lib/amazons3.php @@ -264,10 +264,6 @@ class AmazonS3 extends \OC\Files\Storage\Common { public function unlink($path) { $path = $this->normalizePath($path); - if ( ! $this->file_exists($path)) { - return false; - } - try { $result = $this->connection->deleteObject(array( 'Bucket' => $this->bucket,