]> source.dussan.org Git - nextcloud-server.git/commitdiff
Include etag field for folder contents
authorMichael Gapczynski <mtgap@owncloud.com>
Sat, 23 Feb 2013 20:22:34 +0000 (15:22 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Sat, 23 Feb 2013 20:22:34 +0000 (15:22 -0500)
apps/files_sharing/lib/share/file.php

index 6d3c55a008f0bdaf85fc14674f6a3f55f7d01f51..ceabc7d548bb745e4e2be18dbf43900d6644ab41 100644 (file)
@@ -87,6 +87,7 @@ class OC_Share_Backend_File implements OCP\Share_Backend_File_Dependent {
                                $file['size'] = $item['size'];
                                $file['mtime'] = $item['mtime'];
                                $file['encrypted'] = $item['encrypted'];
+                               $file['etag'] = $item['etag'];
                                $files[] = $file;
                        }
                        return $files;