mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Do not show unintended debug messages (#6296)
* Do not show unintended debug messages * Fix the silly mistake
This commit is contained in:
committed by
Neil Lathwood
parent
1ea7af424b
commit
2dd0ab870f
@@ -1555,7 +1555,7 @@ function load_os(&$device)
|
||||
log_event('Device type changed ' . $device['type'] . ' => ' . $config['os'][$device['os']]['type'], $device, 'system', 3);
|
||||
$device['type'] = $config['os'][$device['os']]['type'];
|
||||
dbUpdate(array('type' => $device['type']), 'devices', 'device_id=?', array($device['device_id']));
|
||||
echo "Device type changed to " . $device['type'] . "!\n";
|
||||
d_echo("Device type changed to " . $device['type'] . "!\n");
|
||||
}
|
||||
|
||||
if ($config['os'][$device['os']]['group']) {
|
||||
|
Reference in New Issue
Block a user