Suppression code inutile
This commit is contained in:
parent
a187babbac
commit
80a5245bc8
@ -8,7 +8,6 @@ $users = new Users\Users;
|
||||
|
||||
f(['id' => 'required|numeric']);
|
||||
$id = (int) qg('id');
|
||||
$id_field = Users\DynamicFields::getNameFieldsSQL();
|
||||
$sign_tag = UserTemplate\Functions::signature();
|
||||
|
||||
// Vérification que le document existe
|
||||
@ -25,7 +24,6 @@ try
|
||||
if ($f->receveur_membre)
|
||||
{
|
||||
$c = $users->get($f->receveur_id);
|
||||
$c->$id_field = $c->$identite;
|
||||
foreach(['ville','code_postal','adresse'] as $v)
|
||||
{
|
||||
if($c->$v == '')
|
||||
@ -37,7 +35,6 @@ try
|
||||
else
|
||||
{
|
||||
$c = $client->get($f->receveur_id);
|
||||
$c->$id_field = $c->nom;
|
||||
}
|
||||
}
|
||||
catch(UserException $e)
|
||||
|
Loading…
Reference in New Issue
Block a user