diff --git a/htdocs/core/class/interfaces.class.php b/htdocs/core/class/interfaces.class.php index d15eb42fe51..51d5456ec28 100644 --- a/htdocs/core/class/interfaces.class.php +++ b/htdocs/core/class/interfaces.class.php @@ -102,7 +102,7 @@ class Interfaces if (in_array($modName,$modules)) { $langs->load("errors"); - dol_syslog(get_class($this)."::run_triggers action=".$action." ".$langs->trans("ErrorDuplicateTrigger",$modName,"/htdocs/core/triggers/"),LOG_ERR); + dol_syslog(get_class($this)."::run_triggers action=".$action." ".$langs->trans("ErrorDuplicateTrigger",$modName,"/htdocs/core/triggers/"), LOG_ERR); continue; } else @@ -123,7 +123,7 @@ class Interfaces if (! $qualified) { - dol_syslog(get_class($this)."::run_triggers action=".$action." Triggers for file '".$file."' need module to be enabled",LOG_INFO); + dol_syslog(get_class($this)."::run_triggers action=".$action." Triggers for file '".$file."' need module to be enabled", LOG_DEBUG); continue; } @@ -148,7 +148,7 @@ class Interfaces $objMod = new $modName($this->db); if ($objMod) { - dol_syslog(get_class($this)."::run_triggers action=".$action." Launch triggers for file '".$files[$key]."'",LOG_INFO); + dol_syslog(get_class($this)."::run_triggers action=".$action." Launch triggers for file '".$files[$key]."'", LOG_INFO); $result=$objMod->run_trigger($action,$object,$user,$langs,$conf); if ($result > 0) @@ -173,7 +173,7 @@ class Interfaces } else { - dol_syslog(get_class($this)."::run_triggers action=".$action." Failed to instantiate trigger for file '".$files[$key]."'",LOG_ERR); + dol_syslog(get_class($this)."::run_triggers action=".$action." Failed to instantiate trigger for file '".$files[$key]."'", LOG_ERR); } } @@ -270,7 +270,7 @@ class Interfaces print 'Error: A trigger file was found but its class "'.$modName.'" was not found.'."
\n"; continue; } - + $objMod = new $modName($this->db); // Define disabledbyname and disabledbymodule