Index: openacs-4/packages/acs-api-browser/tcl/api-doc-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-api-browser/tcl/api-doc-init.tcl,v diff -u -r1.2.2.2 -r1.2.2.3 --- openacs-4/packages/acs-api-browser/tcl/api-doc-init.tcl 26 Feb 2022 14:44:24 -0000 1.2.2.2 +++ openacs-4/packages/acs-api-browser/tcl/api-doc-init.tcl 20 Apr 2022 08:57:51 -0000 1.2.2.3 @@ -20,7 +20,11 @@ ad_schedule_proc -thread t -once t 1 ::api_add_calling_info_to_procdoc } -::xo::api update_object_doc "" ::acs::db::[::acs::dc cget -driver]-[::acs::dc cget -backend] "" +# When xotcl-core is enabled, update the OO documentation for +# automatically-generated api +if {[namespace::which ::xo::api] ne ""} { + ::xo::api update_object_doc "" ::acs::db::[::acs::dc cget -driver]-[::acs::dc cget -backend] "" +} # Local variables: # mode: tcl