Index: openacs.org-dev/packages/cms/www/modules/items/content-download.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/cms/www/modules/items/content-download.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/cms/www/modules/items/content-download.tcl 9 Jul 2002 17:35:03 -0000 1.1.1.1 +++ openacs.org-dev/packages/cms/www/modules/items/content-download.tcl 8 Oct 2002 15:47:02 -0000 1.1.1.2 @@ -8,17 +8,8 @@ set user_id [User::getID] -template::query get_iteminfo iteminfo onerow " - select - item_id, content_revision.is_live( revision_id ) is_live - from - cr_revisions - where - revision_id = :revision_id -" +db_1row get_iteminfo "" -template::util::array_to_vars iteminfo - # item_id, is_live # check cm permissions on file