Clean code

This commit is contained in:
ldestailleur
2025-06-08 13:33:53 +02:00
parent 9cc83f44de
commit 188b62abe2

View File

@@ -1187,8 +1187,6 @@ class Societe extends CommonObject
*/ */
public function create_individual(User $user, $no_email = 0, $tags = array(), $notrigger = 0) public function create_individual(User $user, $no_email = 0, $tags = array(), $notrigger = 0)
{ {
global $conf;
$error = 0; $error = 0;
$this->db->begin(); $this->db->begin();
@@ -1260,7 +1258,7 @@ class Societe extends CommonObject
*/ */
public function verify() public function verify()
{ {
global $conf, $langs, $mysoc; global $langs, $mysoc;
$error = 0; $error = 0;
$this->errors = array(); $this->errors = array();