mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 15:42:29 +01:00
Clean code
This commit is contained in:
@@ -1641,7 +1641,7 @@ function dol_syslog($message, $level = LOG_INFO, $ident = 0, $suffixinfilename =
|
||||
global $conf, $user, $debugbar;
|
||||
|
||||
// If syslog module enabled
|
||||
if (empty($conf->syslog->enabled)) {
|
||||
if (!isModEnabled('syslog')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user