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.50.2.7 -r1.50.2.8
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql	21 Dec 2004 18:22:30 -0000	1.50.2.7
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql	6 Jan 2005 16:31:29 -0000	1.50.2.8
@@ -1020,8 +1020,8 @@
  6) delete keyword associations
  7) delete all associated comments */
 
-select define_function_args('content_item__delete','item_id');
-create or replace function content_item__delete (integer)
+select define_function_args('content_item__del','item_id');
+create or replace function content_item__del (integer)
 returns integer as '
 declare
   delete__item_id                alias for $1;  
@@ -1145,6 +1145,16 @@
   return 0; 
 end;' language 'plpgsql';
 
+select define_function_args('content_item__delete','item_id');
+create or replace function content_item__delete (integer)
+returns integer as '
+declare
+  delete__item_id                alias for $1;  
+begin
+        PERFORM content_item__del (delete__item_id);
+  return 0; 
+end;' language 'plpgsql';
+
 select define_function_args('content_item__edit_name','item_id,name');
 create or replace function content_item__edit_name (integer,varchar)
 returns integer as '
