Index: openacs-4/contrib/packages/simulation/sql/postgresql/simulation-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/sql/postgresql/Attic/simulation-drop.sql,v
diff -u -r1.10 -r1.11
--- openacs-4/contrib/packages/simulation/sql/postgresql/simulation-drop.sql	28 Nov 2003 12:55:45 -0000	1.10
+++ openacs-4/contrib/packages/simulation/sql/postgresql/simulation-drop.sql	1 Dec 2003 13:07:12 -0000	1.11
@@ -184,3 +184,21 @@
 );
 
 
+----------------------------------------------------------------------
+-- privileges
+----------------------------------------------------------------------
+
+create function inline_0 ()
+returns integer as '
+begin
+    perform acs_privilege__drop_privilege(''sim_template_create'');
+    perform acs_privilege__drop_privilege(''sim_inst'');
+    perform acs_privilege__drop_privilege(''sim_object_create'');
+    perform acs_privilege__drop_privilege(''sim_object_write'');
+    perform acs_privilege__drop_privilege(''sim_set_map_p'');
+
+    return null;
+end;' language 'plpgsql';
+
+select inline_0();
+drop function inline_0 ();
