Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql,v
diff -u -r1.21 -r1.22
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql	14 Jun 2001 00:23:21 -0000	1.21
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql	6 Jul 2001 00:23:14 -0000	1.22
@@ -663,7 +663,7 @@
                         where
                           item_id = delete__item_id 
   LOOP
-    PERFORM content_revision__delete(v_revision_val.revision_id);
+    PERFORM acs_object__delete(v_revision_val.revision_id);
   end loop;
   
   raise NOTICE ''Deleting associated item templates...'';
