Clean code

This commit is contained in:
Laurent Destailleur
2023-02-21 12:57:36 +01:00
parent d2d6f3974d
commit 44da230012
8 changed files with 27 additions and 15 deletions

View File

@@ -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;
}