diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-11-29 09:19:51 -0800 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-11-29 09:19:51 -0800 |
commit | 3c62de90fd7223562401241466d41fad4002c538 (patch) | |
tree | 63711bec2bcf9c6c5cc02f555b99da8f18c7bac9 | |
parent | 0d464421ed8f4207910d3cf329956dc72a92fe48 (diff) | |
parent | 80d2371f971a9c35bee5bebb272d73ad0fb7fc83 (diff) | |
download | nextcloud-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.php | 2 |
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'); } } |