Clean code

This commit is contained in:
Laurent Destailleur 2024-03-11 18:25:48 +01:00
parent cf617547b5
commit 9cc32d70d2

View File

@ -4951,7 +4951,7 @@ class Societe extends CommonObject
*/
public function generateDocument($modele, $outputlangs, $hidedetails = 0, $hidedesc = 0, $hideref = 0, $moreparams = null)
{
global $conf, $user, $langs;
global $langs;
if (!empty($moreparams) && !empty($moreparams['use_companybankid'])) {
$modelpath = "core/modules/bank/doc/";