mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
Apply "Squiz" code style on old (pre-2014) files
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
<?php
|
||||
|
||||
$procs = dbFetchRows("SELECT * FROM `processors` where `device_id` = ?", array($device['device_id']));
|
||||
$procs = dbFetchRows('SELECT * FROM `processors` where `device_id` = ?', array($device['device_id']));
|
||||
|
||||
if($config['os'][$device['os']]['processor_stacked'] == 1)
|
||||
{
|
||||
include("includes/graphs/device/processor_stack.inc.php");
|
||||
} else {
|
||||
include("includes/graphs/device/processor_separate.inc.php");
|
||||
if ($config['os'][$device['os']]['processor_stacked'] == 1) {
|
||||
include 'includes/graphs/device/processor_stack.inc.php';
|
||||
}
|
||||
else {
|
||||
include 'includes/graphs/device/processor_separate.inc.php';
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user