From 188b62abe2bef1ce2655685136fbde2ea97f2394 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Sun, 8 Jun 2025 13:33:53 +0200 Subject: [PATCH] Clean code --- htdocs/societe/class/societe.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 71a55bee242..adaf69f5cf4 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -1187,8 +1187,6 @@ class Societe extends CommonObject */ public function create_individual(User $user, $no_email = 0, $tags = array(), $notrigger = 0) { - global $conf; - $error = 0; $this->db->begin(); @@ -1260,7 +1258,7 @@ class Societe extends CommonObject */ public function verify() { - global $conf, $langs, $mysoc; + global $langs, $mysoc; $error = 0; $this->errors = array();