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.3 -r1.4
--- openacs-4/packages/dotlrn/sql/postgresql/dotlrn-main-portlet-create.sql	9 May 2002 23:59:51 -0000	1.3
+++ openacs-4/packages/dotlrn/sql/postgresql/dotlrn-main-portlet-create.sql	2 Jul 2002 18:40:08 -0000	1.4
@@ -22,6 +22,7 @@
 
 -- Copyright (C) 2001 OpenForce, Inc.
 -- @author Ben Adida (ben@openforce.net)
+-- @author dan chak (chak@openforce.net)
 -- @creation-date 2001-11-05
 
 -- $Id$
@@ -111,32 +112,35 @@
         select acs_sc_impl_alias__new (
                ''portal_datasource'',
                ''dotlrn_main_portlet'',
-               ''Show'',
-               ''dotlrn_main_portlet::show'',
+               ''RemoveSelfFromPage'',
+               ''dotlrn_main_portlet::remove_self_from_page'',
                ''TCL''
         );
 
         select acs_sc_impl_alias__new (
                ''portal_datasource'',
                ''dotlrn_main_portlet'',
-               ''Edit'',
-               ''dotlrn_main_portlet::edit'',
+               ''Show'',
+               ''dotlrn_main_portlet::show'',
                ''TCL''
         );
 
         select acs_sc_impl_alias__new (
                ''portal_datasource'',
                ''dotlrn_main_portlet'',
-               ''RemoveSelfFromPage'',
-               ''dotlrn_main_portlet::remove_self_from_page'',
+               ''Edit'',
+               ''dotlrn_main_portlet::edit'',
                ''TCL''
         );
 
+        -- Add the binding
         select acs_sc_binding__new (
                ''portal_datasource'',
                ''dotlrn_main_portlet''
         );
 
+	return 0;
+
 end;
 ' language 'plpgsql';
 
