summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2013-11-29 09:19:51 -0800
committerFrank Karlitschek <frank@owncloud.org>2013-11-29 09:19:51 -0800
commit3c62de90fd7223562401241466d41fad4002c538 (patch)
tree63711bec2bcf9c6c5cc02f555b99da8f18c7bac9
parent0d464421ed8f4207910d3cf329956dc72a92fe48 (diff)
parent80d2371f971a9c35bee5bebb272d73ad0fb7fc83 (diff)
downloadnextcloud-server-3c62de90fd7223562401241466d41fad4002c538.tar.gz
nextcloud-server-3c62de90fd7223562401241466d41fad4002c538.zip
Merge pull request #6129 from owncloud/chunking-fixtouchafterassemble
Fixed touch after chunk assembling
-rw-r--r--lib/private/connector/sabre/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/file.php b/lib/private/connector/sabre/file.php
index 26b5d200bde..295575f0af6 100644
--- a/lib/private/connector/sabre/file.php
+++ b/lib/private/connector/sabre/file.php
@@ -249,7 +249,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
// allow sync clients to send the mtime along in a header
$mtime = OC_Request::hasModificationTime();
if ($mtime !== false) {
- if($fs->touch($this->path, $mtime)) {
+ if($fs->touch($targetPath, $mtime)) {
header('X-OC-MTime: accepted');
}
}