Change in depracation message and remove smarty modifiers json_encode and json_decode

This commit is contained in:
Abhishek Kumar
2022-04-12 17:35:53 +05:30
parent 75fd8a007a
commit 5051fd6ffd
2 changed files with 1 additions and 3 deletions

View File

@@ -2648,7 +2648,7 @@ exit;
if ($message === null) {
$message = 'The function '.$callee['function'].' (Line '.$callee['line'].') is deprecated and will be removed in the next major version.';
}
$error = 'Function: '.$callee['function'].'() is deprecated in file: '.$callee['file'].' on line: '.$callee['line'].'<br />';
$error = 'Function: <b>'.$callee['function'].'()</b> is deprecated in file: <b>'.$callee['file'].'</b> on line: <b>'.$callee['line'].'</b><br />';
Tools::throwDeprecated($error, $message, $class);
}