Index: openacs-4/packages/bug-tracker/sql/postgresql/upgrade-0.9d1-1.2d2.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/sql/postgresql/upgrade-0.9d1-1.2d2.sql,v
diff -u -r1.1.2.1 -r1.1.2.2
--- openacs-4/packages/bug-tracker/sql/postgresql/upgrade-0.9d1-1.2d2.sql	5 Mar 2003 18:13:18 -0000	1.1.2.1
+++ openacs-4/packages/bug-tracker/sql/postgresql/upgrade-0.9d1-1.2d2.sql	11 Mar 2003 15:10:09 -0000	1.1.2.2
@@ -384,11 +384,12 @@
     from   bt_projects
     where  project_id = p_project_id;
 
-    -- Delete the bugs
-    for rec in select item_id from cr_items where parent_id = v_folder_id
-    loop
-         perform bt_bug__delete(rec.item_id);
-    end loop;
+    -- This gets done in tcl before we are called ... for now
+    --  Delete the bugs
+    -- for rec in select item_id from cr_items where parent_id = v_folder_id
+    -- loop
+    --     perform bt_bug__delete(rec.item_id);
+    -- end loop;
 
     -- Delete the patches
     for rec in select patch_id from bt_patches where project_id = p_project_id
@@ -401,7 +402,7 @@
     perform content_folder__delete(v_folder_id);
 
     -- delete the projects keywords
-    perform bt_projects__keywords_delete(p_project_id, ''t'');
+    perform bt_project__keywords_delete(p_project_id, ''t'');
 
     -- These tables should really be set up to cascade
     delete from bt_versions where project_id = p_project_id;
