Removed unused code

This commit is contained in:
fermin831 2018-10-03 11:14:11 +02:00
parent 7ffeaaf50b
commit 3d1e2e4c79

View File

@ -207,11 +207,6 @@ if ($create_agent) {
$agent_creation_error = __('No agent alias specified');
$agent_created_ok = 0;
}
/*elseif (agents_get_agent_id ($nombre_agente)) {
$agent_creation_error =
__('There is already an agent in the database with this name');
$agent_created_ok = 0;
}*/
else {
if($alias_as_name){
$sql = 'SELECT nombre FROM tagente WHERE nombre = "' . $alias . '"';