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();