mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Cleanup functions.inc.php (#11835)
This commit is contained in:
@@ -10,7 +10,7 @@ $transparency = 15;
|
||||
if (isset($vars['cert_name'])) {
|
||||
$cert_name_list=array($vars['cert_name']);
|
||||
} else {
|
||||
$cert_name_list=get_domains_with_certificates($device, $app['app_id']);
|
||||
$cert_name_list = get_arrays_with_application($device, $app_id, $name);
|
||||
}
|
||||
|
||||
$int=0;
|
||||
|
@@ -10,7 +10,7 @@ $transparency = 15;
|
||||
if (isset($vars['array'])) {
|
||||
$arrays=array($vars['array']);
|
||||
} else {
|
||||
$arrays=get_arrays_with_mdadm($device, $app['app_id']);
|
||||
$arrays = get_arrays_with_application($device, $app_id, $name);
|
||||
}
|
||||
|
||||
$int=0;
|
||||
|
@@ -10,7 +10,7 @@ $transparency = 15;
|
||||
if (isset($vars['array'])) {
|
||||
$arrays=array($vars['array']);
|
||||
} else {
|
||||
$arrays=get_arrays_with_seafile($device, $app['app_id'], $category);
|
||||
$arrays = get_arrays_with_application($device, $app_id, $name, $category);
|
||||
}
|
||||
|
||||
$int=0;
|
||||
|
@@ -10,7 +10,7 @@ $transparency = 15;
|
||||
if (isset($vars['disk'])) {
|
||||
$disks=array($vars['disk']);
|
||||
} else {
|
||||
$disks=get_disks_with_smart($device, $app['app_id']);
|
||||
$disks = get_arrays_with_application($device, $app_id, $name);
|
||||
}
|
||||
|
||||
$smart_enhancements = array('id9');
|
||||
|
Reference in New Issue
Block a user