mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove some lightly used or unused dbFacile functions (#15418)
* Remove some lightly used or unused dbFacile functions ['NULL'] legacy behavior seems unsupported, replace with actual nulls * Fix refactor mishap * another * update baseline * these were very wrong... what happened?
This commit is contained in:
@@ -101,7 +101,7 @@ if (! empty(\LibreNMS\Config::get('distributed_poller_group'))) {
|
||||
}
|
||||
|
||||
global $device;
|
||||
foreach (dbFetch("SELECT * FROM `devices` WHERE disabled = 0 $where ORDER BY device_id DESC", $sqlparams) as $device) {
|
||||
foreach (dbFetchRows("SELECT * FROM `devices` WHERE disabled = 0 $where ORDER BY device_id DESC", $sqlparams) as $device) {
|
||||
$device_start = microtime(true);
|
||||
DeviceCache::setPrimary($device['device_id']);
|
||||
|
||||
|
Reference in New Issue
Block a user