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.78 -r1.78.2.1 --- openacs-4/packages/dotlrn/tcl/community-procs.xql 31 Jul 2002 21:18:32 -0000 1.78 +++ openacs-4/packages/dotlrn/tcl/community-procs.xql 17 Oct 2002 12:23:12 -0000 1.78.2.1 @@ -26,12 +26,6 @@ - - - select package_id from dotlrn_community_types where community_type= :community_type - - - update dotlrn_communities_all set package_id= :package_id where community_id= :community_id @@ -166,7 +160,7 @@ and registered_users.user_id not in (select dm.user_id from dotlrn_member_rels_full dm where dm.community_id = :subcomm_id) - order by dotlrn_member_rels_approved.rel_type, registered_users.last_name + order by last_name @@ -372,15 +366,15 @@ select 1 - from dotlrn_active_comms_not_closed + from dotlrn_communities_not_closed where community_id = :community_id select 1 - from dotlrn_active_comms_not_closed + from dotlrn_communities_not_closed where community_id = :community_id and join_policy = 'open' @@ -389,7 +383,7 @@ select 1 - from dotlrn_active_comms_not_closed + from dotlrn_communities_not_closed where community_id = :community_id and join_policy = 'needs approval' @@ -468,6 +462,18 @@ + + + select impl_name + from acs_sc_impls, + acs_sc_bindings, + acs_sc_contracts + where acs_sc_impls.impl_id = acs_sc_bindings.impl_id + and acs_sc_contracts.contract_id = acs_sc_bindings.contract_id + and acs_sc_contracts.contract_name = 'dotlrn_applet' + + + select dotlrn_applets.applet_key @@ -478,6 +484,14 @@ + + + select applet_key + from dotlrn_applets + where active_p = 't' + + + select dotlrn_applets.applet_key