Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-install.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-install.sql,v
diff -u -r1.9.4.2 -r1.9.4.3
--- openacs-4/packages/acs-kernel/sql/postgresql/acs-install.sql	11 Feb 2003 17:04:24 -0000	1.9.4.2
+++ openacs-4/packages/acs-kernel/sql/postgresql/acs-install.sql	5 Mar 2003 14:38:24 -0000	1.9.4.3
@@ -11,7 +11,6 @@
 create function inline_0 ()
 returns integer as '
 declare
-    kernel_id           apm_packages.package_id%TYPE;
     node_id             site_nodes.node_id%TYPE;
     main_site_id        site_nodes.node_id%TYPE;
     admin_id            apm_packages.package_id%TYPE;
@@ -23,19 +22,6 @@
     jobnum              integer;
 begin   
 
-  kernel_id := apm_service__new (
-                    null,
-                    ''ACS Kernel'',
-                    ''acs-kernel'',
-                    ''apm_service'',
-                    now(),
-                    null,
-                    null,
-                    acs__magic_object_id(''default_context'')
-                    );
-
-  PERFORM apm_package__enable (kernel_id);
-
   main_site_id := apm_service__new(
                     null,
 		    ''Main Site'',
@@ -90,135 +76,7 @@
         ''read''
         );
 
-  admin_id := apm_service__new (
-      null,
-      ''ACS Administration'',
-      ''acs-admin'',
-      ''apm_service'',
-      now(),
-      null,
-      null,
-      null
-      );
 
-  PERFORM apm_package__enable (admin_id);
-
-  node_id := site_node__new (
-    null,
-    site_node__node_id(''/'', null),
-    ''acs-admin'',
-    admin_id,
-    ''t'',
-    ''t'',
-    null,
-    null
-  );
-  
-
-  acs_sc_id := apm_service__new (
-      null,
-      ''ACS Service Contract'',
-      ''acs-service-contract'',
-      ''apm_service'',
-      now(),
-      null,
-      null,
-      null
-      );
-
-  PERFORM apm_package__enable (acs_sc_id);
-
-  node_id := site_node__new (
-    null,
-    site_node__node_id(''/'', null),
-    ''acs-service-contract'',
-    acs_sc_id,
-    ''t'',
-    ''t'',
-    null,
-    null
-  );
-
-  cr_id := apm_service__new (
-      null,
-      ''ACS Content Repository'',
-      ''acs-content-repository'',
-      ''apm_service'',
-      now(),
-      null,
-      null,
-      null
-      );
-
-  PERFORM apm_package__enable (cr_id);
-
-  node_id := site_node__new (
-    null,
-    site_node__node_id(''/'', null),
-    ''acs-content-repository'',
-    cr_id,
-    ''t'',
-    ''t'',
-    null,
-    null
-  );
-
-  docs_id := apm_service__new (
-      null,
-      ''ACS Core Documents'',
-      ''acs-core-docs'',
-      ''apm_service'',
-      now(),
-      null,
-      null,
-      main_site_id
-      );
-
-  node_id := site_node__new (
-    null,
-    site_node__node_id(''/'',null),
-    ''doc'',
-    docs_id,
-    ''t'',
-    ''t'',
-    null,
-    null
-    );
-
-  api_doc_id := apm_service__new (
-      null,
-      ''ACS API Browser'',
-      ''acs-api-browser'',
-      ''apm_service'',
-      now(),
-      null,
-      null,
-      main_site_id
-      );
-
-  PERFORM apm_package__enable (api_doc_id);
-
-  PERFORM acs_permission__grant_permission (
-    api_doc_id, 
-    acs__magic_object_id (''registered_users''), 
-    ''read''
-  );
-
-  api_doc_id := site_node__new (
-    null,
-    site_node__node_id(''/'',null),
-    ''api-doc'',
-    api_doc_id,
-    ''t'',
-    ''t'',
-    null,
-    null
-    );
-
-  update acs_objects
-  set security_inherit_p = ''f''
-  where object_id = api_doc_id;
-
   return null;
 
 end;' language 'plpgsql';
