Index: openacs-4/packages/notifications/tcl/sweep-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notifications/tcl/sweep-procs.xql,v diff -u -r1.2 -r1.2.4.1 --- openacs-4/packages/notifications/tcl/sweep-procs.xql 31 Mar 2010 20:35:27 -0000 1.2 +++ openacs-4/packages/notifications/tcl/sweep-procs.xql 16 Oct 2014 07:31:20 -0000 1.2.4.1 @@ -19,11 +19,11 @@ select request_id - from notification_requests + from notification_requests where not exists (select 1 from acs_object_party_privilege_map ppm where ppm.object_id = notification_requests.object_id and ppm.privilege = 'read' - and ppm.party_id = notification_requests.user_id); + and ppm.party_id = notification_requests.user_id)