Index: openacs-4/packages/acs-templating/tcl/util-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/util-procs.tcl,v diff -u -r1.43.2.15 -r1.43.2.16 --- openacs-4/packages/acs-templating/tcl/util-procs.tcl 29 Aug 2022 13:00:39 -0000 1.43.2.15 +++ openacs-4/packages/acs-templating/tcl/util-procs.tcl 29 Aug 2022 14:17:25 -0000 1.43.2.16 @@ -102,11 +102,17 @@ return [expr {$count == 0}] } -ad_proc -public template::util::is_true { x } { +ad_proc -deprecated template::util::is_true { x } { interprets its argument as a boolean. @param x the value to test + DEPRECATED: since October 2015 this proc is implemented via a + oneliner idiom that can be easily inlined. + + @see https://fisheye.openacs.org/changelog/OpenACS?cs=oacs-5-9%3Agustafn%3A20151001184401 + @see string + @return 0 if the variable can be interpreted as false; 1 for true if it can't. } {