Index: openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl,v diff -u -r1.189.2.39 -r1.189.2.40 --- openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 29 Nov 2019 13:50:46 -0000 1.189.2.39 +++ openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 29 Nov 2019 14:28:48 -0000 1.189.2.40 @@ -2781,10 +2781,15 @@ return [regexp -nocase {^(http|https|ftp)://[^ ].+} [string trim $query_url]] } -ad_proc -public value_if_exists { var_name } { +ad_proc -deprecated value_if_exists { var_name } { If the specified variable exists in the calling environment, returns the value of that variable. Otherwise, returns the empty_string. + + DEPRECATED: this proc does not respect OpenACS naming convention + and can be replaced with a plain tcl oneliner. + + @see plain tcl idioms } { upvar $var_name $var_name if { [info exists $var_name] } {