mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use modern device attrib handling (#15429)
* Use modern attrib handling Remove device attribs array. fixes #15422 * Apply fixes from StyleCI --------- Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
@@ -234,7 +234,6 @@ function device_by_id_cache($device_id, $refresh = false)
|
||||
$device['location'] = $model->location->location ?? null;
|
||||
$device['lat'] = $model->location->lat ?? null;
|
||||
$device['lng'] = $model->location->lng ?? null;
|
||||
$device['attribs'] = $model->getAttribs();
|
||||
|
||||
return $device;
|
||||
}
|
||||
|
Reference in New Issue
Block a user