aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorChristian Berendt <berendt@b1-systems.de>2013-07-08 11:16:58 +0200
committerChristian Berendt <berendt@b1-systems.de>2013-07-08 11:16:58 +0200
commitd59291a8e7268f99ea74c2b6f4e2577c2d260ee6 (patch)
tree58712c1646b077e7a8f7c20c0a5d2dbf24065a00 /apps/files_external
parent0bc28dcb954e6f1b945ef08b9c8ea9a2df0d6e97 (diff)
downloadnextcloud-server-d59291a8e7268f99ea74c2b6f4e2577c2d260ee6.tar.gz
nextcloud-server-d59291a8e7268f99ea74c2b6f4e2577c2d260ee6.zip
remove needless check
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/amazons3.php4
1 files changed, 0 insertions, 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,