Removed a message non expected in a lot of cases

This commit is contained in:
Laurent Destailleur 2023-04-24 15:33:14 +02:00
parent 351c8c58b2
commit 6cb1424824

View File

@ -107,9 +107,13 @@ class InterfaceContactRoles extends DolibarrTriggers
}
}
// We disable this message, it shows the message in api, public page or batch actions when it should not.
// Message setting must be done by the calling GUI page and not set inside the trigger.
/*
if ($nb > 0) {
setEventMessages($langs->trans('ContactAddedAutomatically', $nb), null, 'mesgs');
}
*/
}
}
}