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 -r1.30 -r1.31
--- openacs-4/packages/dotlrn/tcl/community-procs.xql 4 Mar 2002 23:54:00 -0000 1.30
+++ openacs-4/packages/dotlrn/tcl/community-procs.xql 5 Mar 2002 22:37:34 -0000 1.31
@@ -10,7 +10,6 @@
-
update dotlrn_community_types set package_id= :package_id where community_type= :community_type
@@ -23,6 +22,14 @@
+
+
+ select dotlrn_communities.parent_community_id
+ from dotlrn_communities
+ where dotlrn_communities.community_id = :community_id
+
+
+
select node_id from site_nodes where object_id= (select package_id from dotlrn_community_types where community_type= :community_type)
@@ -179,31 +186,12 @@
-
-
-select community_id from dotlrn_communities where package_id= :package_id
-
-
-
-
-
-select parent_community_id from dotlrn_communities where community_id = :community_id
-
-
-
select community_id as subcomm_id from dotlrn_communities where parent_community_id = :community_id
-
-
-select community_id as subcomm_id from dotlrn_communities where parent_community_id = :community_id
-
-
-
-
select package_id from dotlrn_community_types where community_type= :community_type
@@ -251,22 +239,6 @@
-
-
-select applet_id from dotlrn_applets where applet_key = :applet_key
-
-
-
-
-
-
-insert into dotlrn_applets
-(applet_id, applet_key, status)
-values
-(:applet_id, :applet_key, :status)
-
-
-
insert into dotlrn_community_applets