Index: openacs-4/packages/dotlrn/tcl/community-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/tcl/community-procs.xql,v diff -u -N -r1.94 -r1.95 --- openacs-4/packages/dotlrn/tcl/community-procs.xql 14 Nov 2017 16:30:11 -0000 1.94 +++ openacs-4/packages/dotlrn/tcl/community-procs.xql 14 Nov 2017 16:34:30 -0000 1.95 @@ -190,9 +190,7 @@ - select count(*) - from dual - where exists (select 1 + select 1 where exists (select 1 from dotlrn_member_rels_approved where community_id = :community_id and user_id = :user_id) @@ -201,9 +199,7 @@ - select count(*) - from dual - where exists (select 1 + select 1 where exists (select 1 from dotlrn_member_rels_full where community_id = :community_id and user_id = :user_id @@ -267,9 +263,7 @@ - select 1 - from dual - where exists (select 1 + select 1 where exists (select 1 from dotlrn_communities where parent_community_id = :community_id)