Automatic agenda triggers: uncomment useful syslog

The syslog was commented but is useful to spot unimplemented handlers that were nonetheless
enabled in the administration interface.
Also made it issue a warning level message.
This commit is contained in:
Raphaël Doursenaud 2014-03-26 17:13:42 +01:00
parent c9c75a1c08
commit 8d6084db39

View File

@ -633,14 +633,12 @@ class InterfaceActionsAuto
$ok=1;
}
// If not found
/*
else
{
dol_syslog("Trigger '".$this->name."' for action '$action' was ran by ".__FILE__." but no handler found for this action.");
// The trigger was enabled but we are missing the implementation, let the log know
else
{
dol_syslog("Trigger '".$this->name."' for action '$action' was ran by ".__FILE__." but no handler found for this action.", LOG_WARNING);
return 0;
}
*/
}
// Add entry in event table
if ($ok)