Index: openacs-4/contrib/obsolete-packages/bboard/sql/oracle/bboard-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/bboard/sql/oracle/bboard-create.sql,v diff -u -N -r1.3 -r1.3.2.1 --- openacs-4/contrib/obsolete-packages/bboard/sql/oracle/bboard-create.sql 9 Mar 2002 02:00:02 -0000 1.3 +++ openacs-4/contrib/obsolete-packages/bboard/sql/oracle/bboard-create.sql 10 Mar 2002 22:14:39 -0000 1.3.2.1 @@ -427,49 +427,4 @@ return finalString; end; / - --- NOTE: this is only temporary until we figure out how --- packages will register child types to an acs-message -declare - v_exists integer; -begin - - select decode(count(*),0,0,1) into v_exists - from cr_type_children - where parent_type = 'acs_message_revision' - and child_type = 'content_revision'; - - if v_exists = 0 then - content_type.register_child_type ( - parent_type => 'acs_message_revision', - child_type => 'content_revision' - ); - end if; - - select decode(count(*),0,0,1) into v_exists - from cr_type_children - where parent_type = 'acs_message_revision' - and child_type = 'content_revision'; - - if v_exists = 0 then - content_type.register_child_type ( - parent_type => 'acs_message_revision', - child_type => 'image' - ); - end if; - - select decode(count(*),0,0,1) into v_exists - from cr_type_children - where parent_type = 'acs_message_revision' - and child_type = 'content_revision'; - - if v_exists = 0 then - content_type.register_child_type ( - parent_type => 'acs_message_revision', - child_type => 'content_extlink' - ); - end if; - -end; -/ show errors