Index: openacs-4/packages/workflow/sql/postgresql/workflow-procedural-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/workflow/sql/postgresql/workflow-procedural-create.sql,v
diff -u -r1.8 -r1.8.2.1
--- openacs-4/packages/workflow/sql/postgresql/workflow-procedural-create.sql	3 Oct 2003 13:26:27 -0000	1.8
+++ openacs-4/packages/workflow/sql/postgresql/workflow-procedural-create.sql	18 Nov 2003 17:54:57 -0000	1.8.2.1
@@ -36,16 +36,6 @@
   delete_case_id                alias for $1;
   rec                           record;
 begin
-
-    for rec in select cr.item_id
-                   from cr_items cr, workflow_case_log wcl
-                   where cr.item_id = wcl.entry_id
-                   and wcl.case_id = delete_case_id loop
-
-                delete from workflow_case_log where entry_id = rec.item_id;
-                perform content_item__delete(rec.item_id);                
-    end loop;
-
     -- All workflow data cascades from the case id
     delete from workflow_cases
       where case_id = delete_case_id;    
