From 5ea6762f20e0188bbc0e7b81bf5346479e214673 Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Sat, 11 Jul 2015 13:42:14 +1000 Subject: [PATCH] phpcbf run --- html/includes/graphs/device/agent.inc.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/html/includes/graphs/device/agent.inc.php b/html/includes/graphs/device/agent.inc.php index da8a233a8e..2503fd58ee 100644 --- a/html/includes/graphs/device/agent.inc.php +++ b/html/includes/graphs/device/agent.inc.php @@ -2,13 +2,12 @@ $scale_min = 0; -include("includes/graphs/common.inc.php"); +require "includes/graphs/common.inc.php"; $agent_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/agent.rrd"; -if (is_file($agent_rrd)) -{ - $rrd_filename = $agent_rrd; +if (is_file($agent_rrd)) { + $rrd_filename = $agent_rrd; } $ds = "time"; @@ -22,6 +21,6 @@ $graph_max = 1; $unit_text = "msec"; -include("includes/graphs/generic_simplex.inc.php"); +require "includes/graphs/generic_simplex.inc.php"; ?>