Index: openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl,v diff -u -r1.29 -r1.30 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 9 Mar 2010 11:49:46 -0000 1.29 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 2 Mar 2011 04:30:27 -0000 1.30 @@ -92,7 +92,7 @@ ns_set put [ns_conn outputheaders] "Content-Length" 0 ns_return 200 text/plain {} } else { - if {[info procs ad_returnfile_background] eq "" || [security::secure_conn_p]} { + if {[info command ad_returnfile_background] eq "" || [security::secure_conn_p]} { ns_returnfile 200 $mime_type $filename } else { ad_returnfile_background 200 $mime_type $filename