From: Christian Berendt Date: Wed, 10 Jul 2013 14:07:41 +0000 (+0200) Subject: remove uneeded calls to touch X-Git-Tag: v6.0.0alpha2~426^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8b2aa34a491ca3de7a8330a9f196c9173562b8c;p=nextcloud-server.git remove uneeded calls to touch --- diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php index 2a79ecf9a3a..1ad34a9bff4 100644 --- a/apps/files_external/lib/amazons3.php +++ b/apps/files_external/lib/amazons3.php @@ -296,7 +296,6 @@ class AmazonS3 extends \OC\Files\Storage\Common { return false; } - $this->touch(dirname($path)); return true; } @@ -514,7 +513,6 @@ class AmazonS3 extends \OC\Files\Storage\Common { $this->testTimeout(); unlink($tmpFile); - $this->touch(dirname(self::$tmpFiles[$tmpFile])); } catch (S3Exception $e) { return false; }