Index: openacs-4/packages/acs-tcl/tcl/00-icanuse-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/Attic/00-icanuse-procs.tcl,v diff -u -N -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/acs-tcl/tcl/00-icanuse-procs.tcl 30 Mar 2020 19:30:39 -0000 1.1.2.2 +++ openacs-4/packages/acs-tcl/tcl/00-icanuse-procs.tcl 16 Apr 2020 16:20:00 -0000 1.1.2.3 @@ -65,12 +65,10 @@ ::acs::register_icanuse "ns_db currenthandles" [acs::cmd_has_subcommand ns_db currenthandles] ::acs::register_icanuse "ns_server ummap" [acs::cmd_has_subcommand ns_server unmap] -# -# "ns_server ummap" was introduced in NaviServer at the same time as -# "ns_conn partialtimes" but the latter would requires a connection -# (which is not available during loading). -# -::acs::register_icanuse "ns_conn partialtimes" [acs::icanuse "ns_server ummap"] + +::acs::register_icanuse "ns_conn partialtimes" [acs::cmd_has_subcommand ns_conn partialtimes] +::acs::register_icanuse "ns_conn contentsentlength" [acs::cmd_has_subcommand ns_conn contentsentlength] + ::acs::register_icanuse "ns_crypto::randombytes" {[info commands ::ns_crypto::randombytes] ne ""} ::acs::register_icanuse "ns_asynclogfile" {[info commands ::ns_asynclogfile] ne ""}