Index: openacs-4/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl,v diff -u -N -r1.45 -r1.46 --- openacs-4/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl 22 Dec 2017 13:33:04 -0000 1.45 +++ openacs-4/packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl 22 Jan 2018 00:15:23 -0000 1.46 @@ -1046,6 +1046,20 @@ return 1 } +ad_proc -public ad_with_deprecated_code_p {} { + Check, if we should load depreacted code. + + In order to skip loading of deprecated code, use the following + snippet in your config file + + # ns_section ns/server/${server}/acs + # ns_param WithDeprecatedCode 0 + +} { + return [ns_config ns/server/[ns_info server]/acs WithDeprecatedCode 1] +} + + # Local variables: # mode: tcl # tcl-indent-level: 4