Skip to content
Snippets Groups Projects
Commit 8d6084db authored by Raphaël Doursenaud's avatar Raphaël Doursenaud
Browse files

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.
parent c9c75a1c
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment