Index: openacs-4/contrib/obsolete-packages/bboard/sql/postgresql/bboard-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/bboard/sql/postgresql/bboard-create.sql,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/obsolete-packages/bboard/sql/postgresql/bboard-create.sql 9 Mar 2002 02:00:02 -0000 1.4 +++ openacs-4/contrib/obsolete-packages/bboard/sql/postgresql/bboard-create.sql 13 Mar 2002 22:50:53 -0000 1.5 @@ -312,49 +312,3 @@ insert into cr_mime_types (mime_type) values ('text/plain; format=flowed'); - --- -- 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