mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove legacy function calls (#12651)
* massive inlines * fix style and wtf * remove rrdtool.inc.php include * fix CommonFunctions namespace issues * looking for missing class space, fix undefined class issues * style fixes
This commit is contained in:
@@ -44,7 +44,7 @@ if (isset($options['h'])) {
|
||||
$params = $device_ids;
|
||||
} else {
|
||||
$where = 'AND `hostname` LIKE ?';
|
||||
$params = [str_replace('*', '%', mres($options['h']))];
|
||||
$params = [str_replace('*', '%', $options['h'])];
|
||||
}
|
||||
}
|
||||
$devices = dbFetchRows("SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 $where ORDER BY `hostname` ASC", $params);
|
||||
|
Reference in New Issue
Block a user