Index: openacs-4/packages/new-portal/sql/oracle/api-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/sql/oracle/api-create.sql,v
diff -u -r1.21 -r1.22
--- openacs-4/packages/new-portal/sql/oracle/api-create.sql	21 Nov 2001 16:20:24 -0000	1.21
+++ openacs-4/packages/new-portal/sql/oracle/api-create.sql	26 Nov 2001 17:38:02 -0000	1.22
@@ -39,6 +39,7 @@
 		portal_id		in portals.portal_id%TYPE default null,
 		name			in portals.name%TYPE default null,
 		layout_id		in portals.layout_id%TYPE default null,
+		theme_id		in portals.theme_id%TYPE default null,
 		portal_template_p	in portals.portal_template_p%TYPE default null,
 		template_id		in portals.template_id%TYPE default null,
 		object_type		in acs_object_types.object_type%TYPE default 'portal',
@@ -68,16 +69,11 @@
 		insert into portals (portal_id, 
 				    name, 
 				    layout_id, 
-				    theme_id,
-				    portal_template_p,
-				    template_id) 
+				    theme_id)
 		       values (v_portal_id,
 			       'Untitled',  
 			       layout_id, 
-			       v_theme_id,
-			       portal_template_p,
-			       template_id
-			       );
+			       v_theme_id);
 
 		return v_portal_id;
 	end new;
