Index: openacs-4/packages/postcard/sql/postgresql/postcard-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/postcard/sql/postgresql/postcard-create.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/postcard/sql/postgresql/postcard-create.sql	3 Sep 2001 18:40:46 -0000	1.3
+++ openacs-4/packages/postcard/sql/postgresql/postcard-create.sql	23 Feb 2003 18:22:05 -0000	1.4
@@ -27,22 +27,10 @@
 
  -- bind privileges to privilege heirarchy
 
- -- temporarily drop this trigger to avoid a data-change violation 
- -- on acs_privilege_hierarchy_index while updating the child privileges.
-
- drop trigger acs_priv_hier_ins_del_tr on acs_privilege_hierarchy;
-
  select acs_privilege__add_child('create', 'postcard_create_image');
  select acs_privilege__add_child('create', 'postcard_create_card');
  select acs_privilege__add_child('read', 'postcard_read');
 
- -- re-enable the trigger before the last insert to force the 
- -- acs_privilege_hierarchy_index table to be updated.
-
- create trigger acs_priv_hier_ins_del_tr after insert or delete
- on acs_privilege_hierarchy for each row
- execute procedure acs_priv_hier_ins_del_tr ();
-
  select acs_privilege__add_child('admin','postcard_admin');
 end;
 
