2014-04-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_network_components.php: some cleans into the source code style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
6f0160f82b
commit
8bcc5c2add
|
@ -1,3 +1,8 @@
|
|||
2014-04-04 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_network_components.php: some cleans into the
|
||||
source code style.
|
||||
|
||||
2014-04-04 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_networkmap.php: fixed the networkmap L2 with
|
||||
|
|
|
@ -222,7 +222,8 @@ function network_components_get_groups ($id_module_components = 0, $localCompone
|
|||
$level++;
|
||||
$tmp = $id_parent;
|
||||
$id_parent = (int) $group['id_sg'];
|
||||
$childs = network_components_get_groups ($id_module_components, $localComponent);
|
||||
$childs = network_components_get_groups($id_module_components,
|
||||
$localComponent);
|
||||
$id_parent = $tmp;
|
||||
$level--;
|
||||
|
||||
|
@ -240,7 +241,7 @@ function network_components_get_groups ($id_module_components = 0, $localCompone
|
|||
break;
|
||||
case "oracle":
|
||||
$count = db_get_value_filter ('count(*)', 'tlocal_component',
|
||||
array ('id_network_component_group' => (int) $group['id_sg']));
|
||||
array ('id_network_component_group' => (int) $group['id_sg']));
|
||||
break;
|
||||
}
|
||||
if ($count > 0)
|
||||
|
@ -262,12 +263,12 @@ function network_components_get_groups ($id_module_components = 0, $localCompone
|
|||
case "postgresql":
|
||||
$count = db_get_value_filter ('COUNT(*)', 'tnetwork_component',
|
||||
array ('id_group' => (int) $group['id_sg'],
|
||||
'id_modulo' => $id_module_components));
|
||||
'id_modulo' => $id_module_components));
|
||||
break;
|
||||
case "oracle":
|
||||
$count = db_get_value_filter ('count(*)', 'tnetwork_component',
|
||||
array ('id_group' => (int) $group['id_sg'],
|
||||
'id_modulo' => $id_module_components));
|
||||
'id_modulo' => $id_module_components));
|
||||
break;
|
||||
}
|
||||
if ($count > 0)
|
||||
|
|
Loading…
Reference in New Issue