Migliorato messaggio di deprecazione

This commit is contained in:
Thomas Zilio 2017-12-22 12:11:01 +01:00
parent 539c5cf0c7
commit e222fc4b89
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<?php
// trigger_error('Funzione deprecata!', E_USER_DEPRECATED);
// trigger_error(tr('Funzione deprecata!'), E_USER_DEPRECATED);
/**
* Sostituisce ", < e > per evitare hacking del database e risolvere vari problemi.
@ -1033,7 +1033,7 @@ function filelist_and_upload($id_module, $id_record, $label = 'Nuovo allegato:',
*/
function deltree($path)
{
trigger_error('Funzione deprecata!', E_USER_DEPRECATED);
trigger_error(tr('Funzione deprecata!'), E_USER_DEPRECATED);
$path = realpath($path);
@ -1062,7 +1062,7 @@ function deltree($path)
*/
function loadJscriptModules($array)
{
trigger_error('Funzione deprecata!', E_USER_DEPRECATED);
trigger_error(tr('Funzione deprecata!'), E_USER_DEPRECATED);
$result = '';
@ -1081,7 +1081,7 @@ function loadJscriptModules($array)
*/
function loadCSSModules($array)
{
trigger_error('Funzione deprecata!', E_USER_DEPRECATED);
trigger_error(tr('Funzione deprecata!'), E_USER_DEPRECATED);
$result = '';