Fix: Restore removed function because this break compatibility with external modules. Must first be deprecated and then deleted very later.
This commit is contained in:
parent
07965ce694
commit
a88dd655bc
@ -1474,10 +1474,10 @@ function restrictedArea($user, $feature='societe', $objectid=0, $dbtablename='',
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\brief Affiche message erreur de type acces interdit et arrete le programme
|
* \brief Affiche message erreur de type acces interdit et arrete le programme
|
||||||
\param message Force error message
|
* \param message Force error message
|
||||||
\param printheader Affiche avant le header
|
* \param printheader Affiche avant le header
|
||||||
\remarks L'appel a cette fonction termine le code.
|
* \remarks L'appel a cette fonction termine le code.
|
||||||
*/
|
*/
|
||||||
function accessforbidden($message='',$printheader=1)
|
function accessforbidden($message='',$printheader=1)
|
||||||
{
|
{
|
||||||
@ -1509,6 +1509,12 @@ function accessforbidden($message='',$printheader=1)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* For backward compatibility */
|
||||||
|
function dolibarr_print_error($db='',$error='')
|
||||||
|
{
|
||||||
|
return dol_print_error($db, $error);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Affiche message erreur system avec toutes les informations pour faciliter le diagnostic et la remont<EFBFBD>e des bugs.
|
* \brief Affiche message erreur system avec toutes les informations pour faciliter le diagnostic et la remont<EFBFBD>e des bugs.
|
||||||
* On doit appeler cette fonction quand une erreur technique bloquante est rencontree.
|
* On doit appeler cette fonction quand une erreur technique bloquante est rencontree.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user