Index: openacs-4/packages/acs-tcl/tcl/00-canisue-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/Attic/00-canisue-procs.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/acs-tcl/tcl/00-canisue-procs.tcl 5 Jun 2019 10:26:31 -0000 1.1.2.1 +++ openacs-4/packages/acs-tcl/tcl/00-canisue-procs.tcl 14 Jun 2019 10:44:27 -0000 1.1.2.2 @@ -54,8 +54,15 @@ return [expr {" $subcommand" in [split $errorMsg ","]}] } } -# Notice: can use 'ns_db currenthandles' + +# +# Register a features provided by the server, available to all +# packages. Note that packages can register some optional features +# during bootup as well, but the developer has to care about the +# registration and loading order. +# + ::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] # @@ -65,6 +72,8 @@ # ::acs::register_icanuse "ns_conn partialtimes" [acs::icanuse "ns_server ummap"] +::acs::register_icanuse "ns_asynclogfile" {[info commands ::ns_asynclogfile] ne ""} + # Local variables: # mode: tcl # tcl-indent-level: 4