Index: openacs-4/packages/cms/www/modules/sitemap/ancestors.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/sitemap/ancestors.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/cms/www/modules/sitemap/ancestors.tcl 19 Aug 2002 03:42:26 -0000 1.7 +++ openacs-4/packages/cms/www/modules/sitemap/ancestors.tcl 22 Aug 2002 03:04:32 -0000 1.8 @@ -86,13 +86,6 @@ # an item cannot be previewed if it has no associated template if { [string equal $has_index_page t] } { set template_id [db_string get_template_id "" -default ""] - template::query get_template_id template_id onevalue " - select - content_item.get_template( - nvl( content_folder.get_index_page( :item_id ), 0), 'public' ) - from - dual - " } if { [string equal $template_id ""] } {