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,7 +138,9 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
$propertypath = $row['propertypath'];
$propertyname = $row['propertyname'];
$propertyvalue = $row['propertyvalue'];
$properties[$propertypath][$propertyname] = $propertyvalue;
if($propertyname !== self::GETETAG_PROPERTYNAME) {
$properties[$propertypath][$propertyname] = $propertyvalue;
}
}
}
}