Remove use of getDolGlobalInt()
This commit is contained in:
parent
a96d13d5aa
commit
6aee2db1d4
1 changed files with 1 additions and 1 deletions
|
|
@ -1661,7 +1661,7 @@ function dol_syslog($message, $level = LOG_INFO, $ident = 0, $suffixinfilename =
|
|||
|
||||
if (!array_key_exists($level, $logLevels)) {
|
||||
dol_syslog($langs->trans('ErrorBadLogLevel', $level), LOG_ERR);
|
||||
$level = getDolGlobalInt('DEFAULT_SYSLOG_LEVEL', $logLevels[LOG_ERR]);
|
||||
$level = $logLevels[LOG_ERR];
|
||||
}
|
||||
if ($level > $conf->global->SYSLOG_LEVEL) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue