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
+6 -10
View File
@@ -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;
}
}
?>