Index: openacs-4/packages/static-pages/sql/postgresql/static-pages-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-pages/sql/postgresql/static-pages-create.sql,v diff -u -N -r1.14 -r1.15 --- openacs-4/packages/static-pages/sql/postgresql/static-pages-create.sql 31 Oct 2001 17:15:55 -0000 1.14 +++ openacs-4/packages/static-pages/sql/postgresql/static-pages-create.sql 31 Oct 2001 17:47:55 -0000 1.15 @@ -391,8 +391,6 @@ begin -- Delete all permissions on this page: -RAISE NOTICE ''***Deleting id:%'',p_static_page_id; - delete from acs_permissions where object_id = p_static_page_id; -- Drop all comments on this page. general-comments doesn''t have @@ -407,7 +405,7 @@ where image_id in ( select latest_revision from cr_items - where parent_id = v_comment_row + where parent_id = v_comment_row.comment_id ); PERFORM acs_message__delete(v_comment_row.comment_id);