mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
removed the ksort block as it was not working (#10674)
This commit is contained in:
@ -158,14 +158,6 @@ class Component
|
||||
foreach ($this->reserved as $k => $v) {
|
||||
$RESULT[$component_device_id][$COMPONENT['id']][$k] = $COMPONENT[$k];
|
||||
}
|
||||
|
||||
// Sort each component array so the attributes are in order.
|
||||
if (is_array($RESULT[$RESULT[$component_device_id][$COMPONENT['id']]])) {
|
||||
ksort($RESULT[$RESULT[$component_device_id][$COMPONENT['id']]]);
|
||||
}
|
||||
if (is_array($RESULT[$RESULT[$component_device_id]])) {
|
||||
ksort($RESULT[$RESULT[$component_device_id]]);
|
||||
}
|
||||
}
|
||||
|
||||
// limit array(start,count)
|
||||
|
Reference in New Issue
Block a user