Index: openacs-4/packages/dotlrn/sql/postgresql/dotlrn-communities-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/postgresql/Attic/dotlrn-communities-package-create.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/dotlrn/sql/postgresql/dotlrn-communities-package-create.sql	5 Jul 2002 15:26:25 -0000	1.5
+++ openacs-4/packages/dotlrn/sql/postgresql/dotlrn-communities-package-create.sql	8 Jul 2002 20:33:50 -0000	1.6
@@ -132,6 +132,10 @@
         from dotlrn_community_types
         where community_type = p_community_type;
 
+        delete
+        from group_types
+        where group_type = p_community_type;
+
         PERFORM acs_object_type__drop_type(p_community_type, ''f'');
         return 0;
 END;
