Index: openacs-4/packages/static-portlet/sql/postgresql/static-core.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/sql/postgresql/static-core.sql,v
diff -u -r1.5.2.1 -r1.5.2.2
--- openacs-4/packages/static-portlet/sql/postgresql/static-core.sql	26 Sep 2005 08:50:04 -0000	1.5.2.1
+++ openacs-4/packages/static-portlet/sql/postgresql/static-core.sql	13 Jun 2006 15:36:58 -0000	1.5.2.2
@@ -161,7 +161,7 @@
     p_content_id alias for $1;
 begin
         delete from static_portal_content where content_id = p_content_id;
-        acs_object__delete(p_content_id);
+        perform acs_object__delete(p_content_id);
         return 0;
 end;' language 'plpgsql';
 
