From 10e2a35aa6340508cdbc9a424280f7cdcc700f84 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 9 Aug 2023 13:21:56 +0200 Subject: [PATCH] Update interface_20_all_Logevents.class.php --- .../core/triggers/interface_20_all_Logevents.class.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/htdocs/core/triggers/interface_20_all_Logevents.class.php b/htdocs/core/triggers/interface_20_all_Logevents.class.php index ab32870a8c8..acf250f9faa 100644 --- a/htdocs/core/triggers/interface_20_all_Logevents.class.php +++ b/htdocs/core/triggers/interface_20_all_Logevents.class.php @@ -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'];