to remind myself to go through and rm crufty old code that I don't
have time to do "right this minute" I like to "deprecate" them as
follows:
rename ad_context_bar_ws ad_context_bar_ws_old
proc_doc ad_context_bar_ws args "Deprected" {
ns_log warning "ad_context_bar_ws was called by
[ad_calling_script]"
eval ad_context_bar_ws_old $args
}
This works as expected; however, when sourcing the files nsd still
gives the error
Notice: Multiple definition of ad_context_bar in /web/prod/tcl/ad-
navigation.tcl and /web/prod/tcl/z-jbe-overridden-ad-procs.tcl
is there an "nsd-approved" way that I should be using instead? If
not no big deal I guess but it sucks having "bogus" messages
obscuring warnings I
want to be reminded of. :)