Index: openacs-4/packages/wp-slim/tcl/printer-view-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/tcl/printer-view-procs.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/wp-slim/tcl/printer-view-procs.tcl 2 Feb 2003 20:35:17 -0000 1.1.2.1 +++ openacs-4/packages/wp-slim/tcl/printer-view-procs.tcl 21 May 2003 14:37:34 -0000 1.1.2.2 @@ -7,16 +7,6 @@ slide_item_id } { -db_multirow attach_list get_attachments { - - select live_revision as attach_id, display, name as file_name - from (select live_revision, name - from cr_items - where parent_id = :slide_item_id and - content_type in ('cr_wp_image_attachment', 'cr_wp_file_attachment') - ) a - left join cr_wp_image_attachments on (a.live_revision = attach_id) +db_multirow attach_list get_attachments { *SQL* } } - -}