ad_log_deprecated (public)

 ad_log_deprecated what oldCmd [ newCmd ]

Defined in packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl

Provide a standardized interface for reporting deprecated ad_procs or other artifacts. In some situations, the flag "-deprecated" in the proc is not sufficient. When "newCmd" is not specified, this function tries to get the replacement command from the @see specification of the documentation.

Parameters:
what (required)
type of artifact being used (e.g. "proc" or "class")
oldCmd (required)
the name of the deprecated command
newCmd (optional)
replacement command, when specified

Testcases:
ad_log_deprecated
[ show source ]
Show another procedure: