mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply "Squiz" code style on old (pre-2014) files
This commit is contained in:
@@ -1,28 +1,25 @@
|
||||
<?php
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/port-" . safename($port['ifIndex'] . "-adsl.rrd");
|
||||
$rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/port-'.safename($port['ifIndex'].'-adsl.rrd');
|
||||
|
||||
$rrd_list[0]['filename'] = $rrd_filename;
|
||||
$rrd_list[0]['descr'] = "Downstream";
|
||||
$rrd_list[0]['ds'] = "AturChanCurrTxRate";
|
||||
$rrd_list[0]['descr'] = 'Downstream';
|
||||
$rrd_list[0]['ds'] = 'AturChanCurrTxRate';
|
||||
|
||||
$rrd_list[1]['filename'] = $rrd_filename;
|
||||
$rrd_list[1]['descr'] = "Upstream";
|
||||
$rrd_list[1]['ds'] = "AtucChanCurrTxRate";
|
||||
$rrd_list[1]['descr'] = 'Upstream';
|
||||
$rrd_list[1]['ds'] = 'AtucChanCurrTxRate';
|
||||
|
||||
$unit_text = "Bits/sec";
|
||||
$unit_text = 'Bits/sec';
|
||||
|
||||
$units='';
|
||||
$total_units='';
|
||||
$colours='mixed';
|
||||
$units = '';
|
||||
$total_units = '';
|
||||
$colours = 'mixed';
|
||||
|
||||
$scale_min = "0";
|
||||
$scale_min = '0';
|
||||
|
||||
$nototal = 1;
|
||||
|
||||
if ($rrd_list)
|
||||
{
|
||||
include("includes/graphs/generic_multi_line.inc.php");
|
||||
if ($rrd_list) {
|
||||
include 'includes/graphs/generic_multi_line.inc.php';
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user