mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Apply "Squiz" code style on old (pre-2014) files
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
<?php
|
||||
|
||||
foreach (dbFetchRows("SELECT * FROM `devices` WHERE `location` = ?", array($vars['id'])) as $device)
|
||||
{
|
||||
if ($auth || device_permitted($device_id))
|
||||
{
|
||||
$devices[] = $device;
|
||||
$title = $vars['id'];
|
||||
$auth = TRUE;
|
||||
}
|
||||
foreach (dbFetchRows('SELECT * FROM `devices` WHERE `location` = ?', array($vars['id'])) as $device) {
|
||||
if ($auth || device_permitted($device_id)) {
|
||||
$devices[] = $device;
|
||||
$title = $vars['id'];
|
||||
$auth = true;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user