Index: openacs-4/packages/dotlrn/sql/postgresql/dotlrn-main-portlet-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/postgresql/Attic/dotlrn-main-portlet-create.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/dotlrn/sql/postgresql/dotlrn-main-portlet-create.sql	2 Jul 2002 19:53:51 -0000	1.5
+++ openacs-4/packages/dotlrn/sql/postgresql/dotlrn-main-portlet-create.sql	3 Jul 2002 19:58:07 -0000	1.6
@@ -34,18 +34,24 @@
 create function inline_0 ()
 returns integer as '
 declare
-begin
     ds_id portal_datasources.datasource_id%TYPE;
+    foo integer;
 begin
     ds_id := portal_datasource__new(
+        null,
         ''dotlrn_main_portlet'',
-        ''Displays the list of communities a user belongs to''
+        ''Displays the list of communities a user belongs to'',
+	''portal_datasource'',
+	now(),
+	null,
+	null,
+	null
     );
 
     --  the standard 4 params
 
     -- shadeable_p
-    perform portal_datasource.set_def_param(
+    perform portal_datasource__set_def_param(
         ds_id, ''t'', ''t'', ''shadeable_p'', ''f''
     );
 
