Index: openacs-4/packages/bulk-mail/sql/postgresql/bulk-mail-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/bulk-mail/sql/postgresql/bulk-mail-package-create.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/bulk-mail/sql/postgresql/bulk-mail-package-create.sql	15 May 2002 22:07:52 -0000	1.1
+++ openacs-4/packages/bulk-mail/sql/postgresql/bulk-mail-package-create.sql	12 Jun 2002 13:53:13 -0000	1.2
@@ -5,7 +5,6 @@
 -- @version $Id$
 --
 
-drop function bulk_mail__new;
 create function bulk_mail__new (integer, integer, varchar, varchar, varchar, varchar, varchar, varchar, varchar, text, varchar, timestamp, integer, varchar, integer)
 returns integer as '
 declare
@@ -68,7 +67,6 @@
 end;
 ' language 'plpgsql';
 
-drop function bulk_mail__delete;
 create function bulk_mail__delete (integer)
 returns integer as '
 declare
@@ -79,7 +77,7 @@
     from bulk_mail_messages
     where bulk_mail_messages.bulk_mail_id = bulk_mail__delete__bulk_mail_id;
 
-    acs_object__delete(bulk_mail__delete__bulk_mail_id);
+    perform acs_object__delete(bulk_mail__delete__bulk_mail_id);
 
 end;
 ' language 'plpgsql';
