Index: openacs-4/packages/wp-slim/sql/postgresql/wp-slim-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/sql/postgresql/wp-slim-drop.sql,v
diff -u -N -r1.4 -r1.5
--- openacs-4/packages/wp-slim/sql/postgresql/wp-slim-drop.sql	17 May 2003 12:49:58 -0000	1.4
+++ openacs-4/packages/wp-slim/sql/postgresql/wp-slim-drop.sql	28 Aug 2003 09:42:00 -0000	1.5
@@ -315,26 +315,35 @@
 
     default_context := acs__magic_object_id(''default_context'');
     registered_users := acs__magic_object_id(''registered_users'');
-    the_public := acs__magic_object_id(''the_public'');
+--    the_public := acs__magic_object_id(''the_public'');
 
     PERFORM acs_permission__revoke_permission (
          default_context,
          registered_users,
          ''wp_create_presentation''
     );
 
-    PERFORM acs_permission__revoke_permission (
-         default_context,
-         the_public,
-         ''wp_view_presentation''
-    );
+--    PERFORM acs_permission__revoke_permission (
+--         default_context,
+--         the_public,
+--        ''wp_view_presentation''
+--    );
 
 return 0;
 end;' language 'plpgsql';
 select inline_11 ();
 drop function inline_11 ();
 
 --checked
+
+select acs_privilege__remove_child('admin', 'wp_admin_presentation');
+
+select acs_privilege__remove_child('wp_edit_presentation', 'wp_view_presentation');
+select acs_privilege__remove_child('wp_admin_presentation', 'wp_create_presentation');
+select acs_privilege__remove_child('wp_admin_presentation', 'wp_edit_presentation');
+select acs_privilege__remove_child('wp_admin_presentation', 'wp_delete_presentation');
+
+
 create function inline_12 ()
 returns integer as'
 begin
@@ -469,9 +478,9 @@
     integer,	 
     varchar,	 
     integer,	 
-    varchar(400),    
-    varchar(200),	 
-    varchar(400),	 
+    varchar,    
+    varchar,	 
+    varchar,	 
     integer,		
     boolean,	
     boolean,	
@@ -500,10 +509,19 @@
 drop view cr_wp_presentationsx;
 drop table cr_wp_presentations;
 
-drop table wp_styles;
 drop function wp_slide__get_bullet_items_revision(integer);
 drop function wp_slide__get_postamble_revision(integer);
 drop function wp_slide__get_bullet_items(integer);
 drop function wp_slide__get_postamble(integer);
 
 drop function wp_presentation__set_live_revision(integer);
+
+drop sequence wp_style_seq;
+
+
+drop function wp_style__delete(integer);
+
+drop function wp_style__image_delete(integer);
+drop table wp_style_images;
+drop table wp_styles;
+
