revert stuff from 12.0

This commit is contained in:
Florian HENRY 2021-01-12 21:50:02 +01:00
parent 1cc88794b5
commit 3ddcc0efd3

View File

@ -660,12 +660,6 @@ class UserGroup extends CommonObject
$this->nom = $this->name; // Field for 'name' is called 'nom' in database
}
$entity = $conf->entity;
if (!empty($conf->multicompany->enabled) && $conf->entity == 1)
{
$entity = $this->entity;
}
return $this->updateCommon($user, $notrigger);
}