Merge pull request #7911 from owncloud/ext-fixswifttouchoperation
Fix swift touch operation
This commit is contained in:
commit
531f3cf1a8
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue