Merge pull request #7911 from owncloud/ext-fixswifttouchoperation

Fix swift touch operation
This commit is contained in:
Vincent Petry 2014-03-27 18:10:45 +01:00
commit 531f3cf1a8
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ class Swift extends \OC\Files\Storage\Common {
'X-Object-Meta-Timestamp' => $mtime
)
);
return $object->Update($settings);
return $object->UpdateMetadata($settings);
} else {
$object = $this->container->DataObject();
if (is_null($mtime)) {