Index: openacs-4/packages/file-storage/tcl/file-storage-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/tcl/file-storage-procs.xql,v diff -u -N -r1.20.10.1 -r1.20.10.2 --- openacs-4/packages/file-storage/tcl/file-storage-procs.xql 2 Jan 2016 20:13:30 -0000 1.20.10.1 +++ openacs-4/packages/file-storage/tcl/file-storage-procs.xql 3 Jul 2016 18:27:32 -0000 1.20.10.2 @@ -54,22 +54,6 @@ - - - - select cr_items.item_id as object_id, - cr_items.name - from cr_items - where cr_items.parent_id = :folder_id - and exists (select 1 - from acs_object_party_privilege_map m - where m.object_id = cr_items.item_id - and m.party_id = :user_id - and m.privilege = 'read') - - - - select count(*)