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,24 +1,20 @@
|
||||
<?php
|
||||
|
||||
if (is_file($config['rrd_dir'] . "/" . $device['hostname'] ."/ipSystemStats-ipv6.rrd"))
|
||||
{
|
||||
$graph_title = "IPv6 IP Packet Statistics";
|
||||
$graph_type = "device_ipSystemStats_v6";
|
||||
if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/ipSystemStats-ipv6.rrd')) {
|
||||
$graph_title = 'IPv6 IP Packet Statistics';
|
||||
$graph_type = 'device_ipSystemStats_v6';
|
||||
|
||||
include("includes/print-device-graph.php");
|
||||
include 'includes/print-device-graph.php';
|
||||
|
||||
$graph_title = "IPv6 IP Fragmentation Statistics";
|
||||
$graph_type = "device_ipSystemStats_v6_frag";
|
||||
$graph_title = 'IPv6 IP Fragmentation Statistics';
|
||||
$graph_type = 'device_ipSystemStats_v6_frag';
|
||||
|
||||
include("includes/print-device-graph.php");
|
||||
include 'includes/print-device-graph.php';
|
||||
}
|
||||
|
||||
if (is_file($config['rrd_dir'] . "/" . $device['hostname'] ."/ipSystemStats-ipv4.rrd"))
|
||||
{
|
||||
$graph_title = "IPv4 IP Packet Statistics";
|
||||
$graph_type = "device_ipSystemStats_v4";
|
||||
if (is_file($config['rrd_dir'].'/'.$device['hostname'].'/ipSystemStats-ipv4.rrd')) {
|
||||
$graph_title = 'IPv4 IP Packet Statistics';
|
||||
$graph_type = 'device_ipSystemStats_v4';
|
||||
|
||||
include("includes/print-device-graph.php");
|
||||
include 'includes/print-device-graph.php';
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user