[Owncloud] Help needed with Patch to set the mtime via webdav

Klaas Freitag freitag at owncloud.com
Tue Feb 14 14:54:33 UTC 2012


On 10.02.2012 12:53, Robin Appelman wrote:
> On Friday 10 February 2012 11:40:24 Klaas Freitag wrote:

Hi,

>> I committed a patch today ( http://bit.ly/wVrb2u ) that allows to set
>> the mtime of files with webDAV via propset, something we need to do
>> proper syncing.
>
> Perhaps the the mtime is retrieved from php's internal cache[1], getting the
> mtime from oc_filessytem wont take the value from the cache, the cache is only
> used explicitly.
>
> Also, I think it would be better to call the added function to oc_filesystem
> 'touch' to stay closer to that "normal" php api
I reworked and committed the patch today following these suggestions.

Thanks,

Klaas

>
> [1]: http://php.net/manual/en/function.clearstatcache.php




More information about the Owncloud mailing list