Index: openacs-4/packages/file-storage/www/download/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/download/index.vuh,v diff -u -r1.12 -r1.13 --- openacs-4/packages/file-storage/www/download/index.vuh 7 Aug 2017 23:48:11 -0000 1.12 +++ openacs-4/packages/file-storage/www/download/index.vuh 3 Sep 2024 15:37:38 -0000 1.13 @@ -29,8 +29,8 @@ set user_id [ad_conn user_id] permission::require_permission -party_id $user_id -object_id $version_id -privilege read -if {[apm_package_installed_p views]} { - views::record_view -object_id $file_id -viewer_id $user_id +if {[namespace which ::views::record_view] ne ""} { + views::record_view -object_id $file_id -viewer_id $user_id } cr_write_content -revision_id $version_id