mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Removed unused code
This commit is contained in:
parent
7ffeaaf50b
commit
3d1e2e4c79
@ -207,11 +207,6 @@ if ($create_agent) {
|
|||||||
$agent_creation_error = __('No agent alias specified');
|
$agent_creation_error = __('No agent alias specified');
|
||||||
$agent_created_ok = 0;
|
$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 {
|
else {
|
||||||
if($alias_as_name){
|
if($alias_as_name){
|
||||||
$sql = 'SELECT nombre FROM tagente WHERE nombre = "' . $alias . '"';
|
$sql = 'SELECT nombre FROM tagente WHERE nombre = "' . $alias . '"';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user