Update interface_20_all_Logevents.class.php
This commit is contained in:
parent
155848585f
commit
10e2a35aa6
1 changed files with 1 additions and 9 deletions
|
|
@ -79,6 +79,7 @@ class InterfaceLogevents extends DolibarrTriggers
|
|||
|
||||
/* Actions */
|
||||
|
||||
$txt = $action;
|
||||
$langs->load("users");
|
||||
|
||||
// USER_LOGIN
|
||||
|
|
@ -167,15 +168,6 @@ class InterfaceLogevents extends DolibarrTriggers
|
|||
$desc = $langs->transnoentities("GroupDeleted", $object->name);
|
||||
}
|
||||
|
||||
// If not found
|
||||
/*
|
||||
else
|
||||
{
|
||||
dol_syslog("Trigger '".$this->name."' for action '$action' was ran by ".__FILE__." but no handler found for this action.");
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
|
||||
// Add more information into desc from the context property
|
||||
if (!empty($desc) && !empty($object->context['audit'])) {
|
||||
$desc .= ' - '.$object->context['audit'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue