Index: openacs-4/packages/news-portlet/sql/oracle/news-portlet-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news-portlet/sql/oracle/news-portlet-drop.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/news-portlet/sql/oracle/news-portlet-drop.sql 17 Nov 2001 21:44:04 -0000 1.2 +++ openacs-4/packages/news-portlet/sql/oracle/news-portlet-drop.sql 19 Nov 2001 15:23:43 -0000 1.3 @@ -21,7 +21,7 @@ begin select datasource_id into ds_id from portal_datasources - where name = 'news-portlet'; + where name = 'news_portlet'; exception when no_data_found then ds_id := null; end; @@ -41,69 +41,69 @@ -- drop the hooks foo := acs_sc_impl.delete_alias ( 'portal_datasource', - 'news-portlet', + 'news_portlet', 'MyName' ); foo := acs_sc_impl.delete_alias ( 'portal_datasource', - 'news-portlet', + 'news_portlet', 'GetPrettyName' ); foo := acs_sc_impl.delete_alias ( 'portal_datasource', - 'news-portlet', + 'news_portlet', 'Link' ); foo := acs_sc_impl.delete_alias ( 'portal_datasource', - 'news-portlet', + 'news_portlet', 'AddSelfToPage' ); foo := acs_sc_impl.delete_alias ( 'portal_datasource', - 'news-portlet', + 'news_portlet', 'Show' ); foo := acs_sc_impl.delete_alias ( 'portal_datasource', - 'news-portlet', + 'news_portlet', 'Edit' ); foo := acs_sc_impl.delete_alias ( 'portal_datasource', - 'news-portlet', + 'news_portlet', 'RemoveSelfFromPage' ); foo := acs_sc_impl.delete_alias ( 'portal_datasource', - 'news-portlet', + 'news_portlet', 'MakeSelfAvailable' ); foo := acs_sc_impl.delete_alias ( 'portal_datasource', - 'news-portlet', + 'news_portlet', 'MakeSelfUnavailable' ); -- Drop the binding acs_sc_binding.delete ( contract_name => 'portal_datasource', - impl_name => 'news-portlet' + impl_name => 'news_portlet' ); -- drop the impl foo := acs_sc_impl.delete ( 'portal_datasource', - 'news-portlet' + 'news_portlet' ); end; /