]> source.dussan.org Git - nextcloud-server.git/commit
Fix swift touch operation
authorVincent Petry <pvince81@owncloud.com>
Thu, 27 Mar 2014 11:34:30 +0000 (12:34 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 27 Mar 2014 17:39:57 +0000 (18:39 +0100)
commit17e5c03a02964a90e704070059fff61a85705d38
tree4ee5add491a0161056928fc240ee0347abefffe6
parenta31b37e7331befca348b97699bb71a9701081ed4
Fix swift touch operation

The touch() operation now uses "UpdateMetadata()" instead of "Update()"
which doesn't clear the object's contents.

This fixes syncing, as the sync client needs to use touch to update the
object's mtime.

Backport of 2a08e35 from master
apps/files_external/lib/swift.php