mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix printer count sensors when extra garbage. (#14014)
Remove double include
This commit is contained in:
@@ -45,10 +45,6 @@ if ($device['os'] == 'gw-eydfa') {
|
||||
include 'includes/discovery/sensors/gw-eydfa.inc.php';
|
||||
}
|
||||
|
||||
if ($device['os_group'] == 'printer') {
|
||||
include 'includes/discovery/sensors/state/printer.inc.php';
|
||||
}
|
||||
|
||||
$run_sensors = [
|
||||
'airflow',
|
||||
'current',
|
||||
|
@@ -47,4 +47,6 @@ foreach ($walk as $index => $data) {
|
||||
null,
|
||||
$data['prtMarkerPowerOnCount'],
|
||||
);
|
||||
|
||||
break; // only discover the first ones, others mostly duplicate
|
||||
}
|
||||
|
Reference in New Issue
Block a user