diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index ee6d0e7bd14..2dc06fda052 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -2058,8 +2058,6 @@ class User extends CommonObject $adh->pass = $this->pass; - //$adh->societe = (empty($adh->societe) && $this->societe_id ? $this->societe_id : $adh->societe); - $adh->address = $this->address; $adh->town = $this->town; $adh->zip = $this->zip; @@ -2109,8 +2107,6 @@ class User extends CommonObject //$tmpobj->pass=$this->pass; - //$tmpobj->societe=(empty($tmpobj->societe) && $this->societe_id ? $this->societe_id : $tmpobj->societe); - $tmpobj->email = $this->email; $tmpobj->socialnetworks = $this->socialnetworks;