From c61c98cbef9cc6ece60175d5cf45dbc6d5a1ca41 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sat, 2 Feb 2013 15:44:05 +0100 Subject: [PATCH] Dav: don't overwrite etag from filecache with old etag from properties table --- lib/connector/sabre/directory.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/connector/sabre/directory.php b/lib/connector/sabre/directory.php index a7201579366..b210602bbf4 100644 --- a/lib/connector/sabre/directory.php +++ b/lib/connector/sabre/directory.php @@ -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; + } } } } -- 2.39.5