Skip to content
Snippets Groups Projects
Commit 7facbf7a authored by Maxime Kohlhaas's avatar Maxime Kohlhaas Committed by Regis Houssin
Browse files

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

parent b50a9415
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.
Finish editing this message first!
Please register or to comment