X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FCallback;h=4b13afbc7571b30cecc0676168846d92754afff9;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=bd48bc5cd753df07a538722a8324153d0f85a703;hpb=43a06151e47d2c59b833cbd8c26d97865ee850b6;p=freeside.git diff --git a/rt/share/html/Elements/Callback b/rt/share/html/Elements/Callback index bd48bc5cd..4b13afbc7 100755 --- a/rt/share/html/Elements/Callback +++ b/rt/share/html/Elements/Callback @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -48,6 +48,9 @@ <%INIT> $ARGS{'CallbackPage'} = delete $ARGS{'Page'} || $m->callers(1)->path; $ARGS{'CallbackName'} = delete $ARGS{'_CallbackName'}; -$RT::Logger->debug("$ARGS{'CallbackPage'} calls old style callback, use \$m->callback"); +RT->Deprecated( + Instead => '$m->callback', + Remove => "4.4", +); return $m->callback( %ARGS );