Removed debug

This commit is contained in:
xdrm-brackets 2017-09-26 16:39:17 +02:00
parent ebf2b301d6
commit d1f7f4f18f
1 changed files with 3 additions and 4 deletions

View File

@ -582,18 +582,17 @@
/* (6) Sinon -> On entregistre les e-trees */ /* (6) Sinon -> On entregistre les e-trees */
foreach($etree_res->get('etrees') as $etree){ foreach($etree_res->get('etrees') as $etree){
$etree_value = $etree['name'].'-'.$etree['daemon']; $etree_name = $etree['name'].'-'.$etree['daemon'];
/* (7) Si pas déja entregistré -> on l'ajoute */ /* (7) Si pas déja entregistré -> on l'ajoute */
if( !in_array($etrees, $etree_name) ) if( !in_array($etree_name, $etrees) )
$etrees[] = $etree_name; $etrees[] = $etree_name;
} }
} }
}else }
$etrees = ['error' => $mc_res->error->get() ];