Index: openacs-4/contrib/packages/portal/sql/postgresql/portal-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/portal/sql/postgresql/portal-package-create.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/contrib/packages/portal/sql/postgresql/portal-package-create.sql	3 Jan 2004 01:42:57 -0000	1.3
+++ openacs-4/contrib/packages/portal/sql/postgresql/portal-package-create.sql	15 Jan 2004 02:58:52 -0000	1.4
@@ -154,9 +154,9 @@
 
 end;' language 'plpgsql';
 
-select define_function_args('portal__delete', 'portal_id');
+select define_function_args('portal__del', 'portal_id');
 
-create or replace function portal__delete (integer)
+create or replace function portal__del(integer)
 returns integer as '
 declare
     p_portal_id                     alias for $1;
@@ -167,7 +167,7 @@
                   from portal_pages
                   where portal_id = p_portal_id
     loop
-        perform portal_page__delete(v_page.page_id);
+        perform portal_page__del(v_page.page_id);
     end loop;
 
     delete
