aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohan Björk <johanimon@gmail.com>2014-08-28 00:06:57 +0200
committerJohan Björk <johanimon@gmail.com>2014-09-03 12:09:12 +0200
commitd2979da864bd7b9759a0efb60e6eed62d79fe473 (patch)
tree1e9147fc4dc01e18dd65657136c8ea988501be1c /apps
parentdadb1fad2ab4c09a919fa65bb0fd4f89680d97b9 (diff)
downloadnextcloud-server-d2979da864bd7b9759a0efb60e6eed62d79fe473.tar.gz
nextcloud-server-d2979da864bd7b9759a0efb60e6eed62d79fe473.zip
Fix failing AmazonS3::touch on updated aws sdk
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/amazons3.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php
index 60d2677ddda..c82b7391021 100644
--- a/apps/files_external/lib/amazons3.php
+++ b/apps/files_external/lib/amazons3.php
@@ -416,7 +416,8 @@ class AmazonS3 extends \OC\Files\Storage\Common {
$result = $this->connection->putObject(array(
'Bucket' => $this->bucket,
'Key' => $this->cleanKey($path),
- 'Metadata' => $metadata
+ 'Metadata' => $metadata,
+ 'Body' => ''
));
$this->testTimeout();
}