Skip to content
Snippets Groups Projects
Commit 8ab450f6 authored by Maxime Kohlhaas's avatar Maxime Kohlhaas
Browse files

Multicompany restriction for transverse mode not used anymore. RestrictedArea is enough

parent 6089ba61
No related branches found
No related tags found
No related merge requests found
......@@ -67,12 +67,6 @@ if ($id)
|| (($user->id != $id) && $user->rights->user->user->password));
}
//Multicompany in mode transversal
if (! empty($conf->multicompany->enabled) && $conf->entity > 1 && $conf->multicompany->transverse_mode)
{
accessforbidden();
}
// Security check
$socid=0;
if ($user->societe_id > 0) $socid = $user->societe_id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment