Dav: don't overwrite etag from filecache with old etag from properties table

This commit is contained in:
Robin Appelman 2013-02-02 15:44:05 +01:00
parent 23166aa016
commit c61c98cbef
1 changed files with 3 additions and 1 deletions

View File

@ -138,10 +138,12 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
$propertypath = $row['propertypath'];
$propertyname = $row['propertyname'];
$propertyvalue = $row['propertyvalue'];
if($propertyname !== self::GETETAG_PROPERTYNAME) {
$properties[$propertypath][$propertyname] = $propertyvalue;
}
}
}
}
$nodes = array();
foreach($folder_content as $info) {