Add get servers from the type filter. TICKET: #1855

This commit is contained in:
mdtrooper 2016-01-21 14:21:01 +01:00
parent 414cc1c6ee
commit 95525bf21d
2 changed files with 5 additions and 1 deletions

View File

@ -88,7 +88,7 @@ else {
ui_print_success_message(__('Successfully action'));
}
}
if (isset ($_GET["delete"])) {
$id_server = get_parameter_get ("server_del");

View File

@ -664,6 +664,10 @@ function servers_get_info ($id_server = -1) {
return $return;
}
function servers_get_servers_type($type) {
return db_get_all_rows_filter('tserver', array('server_type' => $type));
}
/**
* Get the server name.
*