X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FCallback;h=3dea083867b9016fc5a441667d1fcb92e479823c;hb=a9aa4d83ae52cfece965cd8f175a29394938f76a;hp=119853a571a2606232341438f04bda80e2b97cbf;hpb=73a6a80a9ca5edbd43d139b7cb25bfee4abfd35e;p=freeside.git diff --git a/rt/share/html/Elements/Callback b/rt/share/html/Elements/Callback index 119853a57..3dea08386 100755 --- a/rt/share/html/Elements/Callback +++ b/rt/share/html/Elements/Callback @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 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 );