mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
Apply "Squiz" code style on old (pre-2014) files
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
<?php
|
||||
|
||||
if (is_file($config['rrd_dir'] . "/" . $device['hostname'] ."/netstats-snmp.rrd"))
|
||||
{
|
||||
$graph_title = "SNMP Packets Statistics";
|
||||
$graph_type = "device_snmp_packets";
|
||||
if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/netstats-snmp.rrd')) {
|
||||
$graph_title = 'SNMP Packets Statistics';
|
||||
$graph_type = 'device_snmp_packets';
|
||||
|
||||
include("includes/print-device-graph.php");
|
||||
include 'includes/print-device-graph.php';
|
||||
|
||||
$graph_title = "SNMP Message Type Statistics";
|
||||
$graph_type = "device_snmp_statistics";
|
||||
$graph_title = 'SNMP Message Type Statistics';
|
||||
$graph_type = 'device_snmp_statistics';
|
||||
|
||||
include("includes/print-device-graph.php");
|
||||
include 'includes/print-device-graph.php';
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user