mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: restore usage of -i -n in polling (#5228)
This commit is contained in:
@ -57,7 +57,7 @@ if (isset($options['i']) && $options['i'] && isset($options['n'])) {
|
||||
// FIXME
|
||||
$query = 'SELECT * FROM (SELECT @rownum :=0) r,
|
||||
(
|
||||
SELECT @rownum := @rownum +1 AS rownum, `device_id`
|
||||
SELECT @rownum := @rownum +1 AS rownum, `devices`.*
|
||||
FROM `devices`
|
||||
WHERE `disabled` = 0
|
||||
ORDER BY `device_id` ASC
|
||||
|
Reference in New Issue
Block a user