Index: openacs-4/packages/news/news.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/news.info,v diff -u -N -r1.18 -r1.19 --- openacs-4/packages/news/news.info 26 Mar 2005 13:49:54 -0000 1.18 +++ openacs-4/packages/news/news.info 4 Aug 2005 02:09:17 -0000 1.19 @@ -13,6 +13,7 @@ 2003-11-10 OpenACS News publication tool. Publication of plain text or html news items with support for scheduled publication and commentability. + 0 @@ -21,22 +22,22 @@ - - - + + + + + - - Index: openacs-4/packages/news/tcl/news-apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/tcl/news-apm-callback-procs.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/news/tcl/news-apm-callback-procs.tcl 24 Feb 2005 13:33:23 -0000 1.2 +++ openacs-4/packages/news/tcl/news-apm-callback-procs.tcl 4 Aug 2005 02:10:00 -0000 1.3 @@ -75,3 +75,22 @@ } } } + +ad_proc -private news::install::before_uninstantiate { + -package_id +} { + Delete RSS feed per package instance + Delete News items per package instance + + @author Stan Kaufman (skaufman@epimetrics.com) + @creation-date 2005-08-03 + + @param package_id + + @return + + @error +} { + news_items_delete [db_list dead_news ""] + rss_support::del_subscription -summary_context_id $package_id -owner news -impl_name news +} Index: openacs-4/packages/news/tcl/news-apm-callback-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/tcl/news-apm-callback-procs.xql,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/news/tcl/news-apm-callback-procs.xql 4 Aug 2005 02:10:32 -0000 1.1 @@ -0,0 +1,20 @@ + + + + + + + + + + + + + select i.item_id + from cr_items i, acs_objects o + where o.package_id = :package_id + and i.item_id = o.object_id + + + +