Apply "Squiz" code style on old (pre-2014) files

This commit is contained in:
Job Snijders
2015-07-11 16:12:35 +02:00
parent e4f4eb44dc
commit ebd0f6fc35
539 changed files with 13587 additions and 13219 deletions
@@ -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';
}
?>