diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-30 19:18:05 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-30 19:18:05 -0500 |
commit | a5cb7363a5031d25d3e4cbd46817930c19893143 (patch) | |
tree | db63294d2b097405f4c6d32c7ace3f57726ae945 /lib/connector/sabre/directory.php | |
parent | 2c23e143d33e231e62dccb450bf1f1b0f3938ccd (diff) | |
download | nextcloud-server-a5cb7363a5031d25d3e4cbd46817930c19893143.tar.gz nextcloud-server-a5cb7363a5031d25d3e4cbd46817930c19893143.zip |
Use etags from file cache in SabreDAV connector
Diffstat (limited to 'lib/connector/sabre/directory.php')
-rw-r--r-- | lib/connector/sabre/directory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connector/sabre/directory.php b/lib/connector/sabre/directory.php index 8d4dd92a3d4..a7201579366 100644 --- a/lib/connector/sabre/directory.php +++ b/lib/connector/sabre/directory.php @@ -121,8 +121,8 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa $paths = array(); foreach($folder_content as $info) { $paths[] = $this->path.'/'.$info['name']; + $properties[$this->path.'/'.$info['name']][self::GETETAG_PROPERTYNAME] = $info['etag']; } - $properties = array_fill_keys($paths, array()); if(count($paths)>0) { // // the number of arguments within IN conditions are limited in most databases |