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

remotes/origin/stable5
Robin Appelman 14 years ago
parent 23166aa016
commit c61c98cbef
  1. 4
      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;
}
}
}
}

Loading…
Cancel
Save