mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 18:38:25 +00:00
remove unecessary function
This commit is contained in:
parent
d009c60004
commit
e911eef0c8
@ -1332,21 +1332,6 @@ function get_arrays_with_seafile($device, $app_id, $category)
|
||||
return get_arrays_with_application($device, $app_id, $app_name, $category);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all dhcp data from the collected
|
||||
* rrd files.
|
||||
*
|
||||
* @param array $device device for which we get the rrd's
|
||||
* @param int $app_id application id on the device
|
||||
* @param string $category which category of dhcp graphs are searched
|
||||
* @return array list of dhcp data
|
||||
*/
|
||||
function get_arrays_with_dhcpstats($device, $app_id, $category)
|
||||
{
|
||||
$app_name = 'dhcp-stats';
|
||||
return get_arrays_with_application($device, $app_id, $app_name, $category);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all mdadm arrays from the collected
|
||||
* rrd files.
|
||||
|
@ -15,7 +15,7 @@ $printtotal = 0;
|
||||
$addarea = 1;
|
||||
$transparency = 15;
|
||||
|
||||
$arrays = get_arrays_with_dhcpstats($device, $app_id, $category);
|
||||
$arrays = get_arrays_with_application($device, $app_id, $name, $category);
|
||||
|
||||
$int=0;
|
||||
while (isset($arrays[$int])) {
|
||||
|
@ -15,7 +15,7 @@ $printtotal = 0;
|
||||
$addarea = 1;
|
||||
$transparency = 15;
|
||||
|
||||
$arrays = get_arrays_with_dhcpstats($device, $app_id, $category);
|
||||
$arrays = get_arrays_with_application($device, $app_id, $name, $category);
|
||||
|
||||
$int=0;
|
||||
while (isset($arrays[$int])) {
|
||||
|
@ -15,7 +15,7 @@ $printtotal = 0;
|
||||
$addarea = 1;
|
||||
$transparency = 15;
|
||||
|
||||
$arrays = get_arrays_with_dhcpstats($device, $app_id, $category);
|
||||
$arrays = get_arrays_with_application($device, $app_id, $name, $category);
|
||||
|
||||
$int=0;
|
||||
while (isset($arrays[$int])) {
|
||||
|
@ -16,7 +16,7 @@ $addarea = 1;
|
||||
$transparency = 15;
|
||||
|
||||
|
||||
$arrays = get_arrays_with_dhcpstats($device, $app_id, $category);
|
||||
$arrays = get_arrays_with_application($device, $app_id, $name, $category);
|
||||
|
||||
$int=0;
|
||||
while (isset($arrays[$int])) {
|
||||
|
@ -15,8 +15,7 @@ $printtotal = 0;
|
||||
$addarea = 1;
|
||||
$transparency = 15;
|
||||
|
||||
|
||||
$arrays = get_arrays_with_dhcpstats($device, $app_id, $category);
|
||||
$arrays = get_arrays_with_application($device, $app_id, $name, $category);
|
||||
|
||||
$int=0;
|
||||
while (isset($arrays[$int])) {
|
||||
|
@ -16,7 +16,7 @@ $addarea = 1;
|
||||
$transparency = 15;
|
||||
|
||||
|
||||
$arrays = get_arrays_with_dhcpstats($device, $app_id, $category);
|
||||
$arrays = get_arrays_with_application($device, $app_id, $name, $category);
|
||||
|
||||
$int=0;
|
||||
while (isset($arrays[$int])) {
|
||||
|
Loading…
Reference in New Issue
Block a user