Skip to content
Snippets Groups Projects
Commit a663f8fb authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: remove obsolete code

parent b78b0830
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,7 @@ $ref = GETPOST('ref', 'alpha');
// Security check
if ($user->societe_id > 0)
{
unset($_GET["action"]);
$action='';
unset($action);
$socid = $user->societe_id;
}
$result = restrictedArea($user, 'societe', $id, '&societe');
......@@ -188,8 +187,7 @@ if ($object->id)
$formfile->form_attach_new_file($_SERVER["PHP_SELF"].'?id='.$object->id,'',0,0,$user->rights->societe->creer,50,$object);
// List of document
$param='&socid='.$object->id;
$formfile->list_of_documents($filearray,$object,'societe',$param);
$formfile->list_of_documents($filearray,$object,'societe');
print "<br><br>";
}
......
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