]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove needless check
authorChristian Berendt <berendt@b1-systems.de>
Mon, 8 Jul 2013 09:16:58 +0000 (11:16 +0200)
committerChristian Berendt <berendt@b1-systems.de>
Mon, 8 Jul 2013 09:16:58 +0000 (11:16 +0200)
apps/files_external/lib/amazons3.php

index 1c92dfa9995e994155972398cdb9f08d4f44cae5..8b1303381da0c3295e66dc939828f62fe9d26c3c 100644 (file)
@@ -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,