mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now. Fixed all errors, left most warnings.
This commit is contained in:
@@ -15,16 +15,14 @@ if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if (is_array($vars)) {
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$rrd_list[$i]['descr'] = $vars;
|
||||
}
|
||||
|
||||
$rrd_list[$i]['ds'] = $ds;
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
echo "file missing: $file";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user