summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_img.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-06-17 10:18:44 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-06-17 10:19:52 -0300
commit65eb0f61a42e2690b9b7055409a7a2efba9a26a9 (patch)
tree1c9086f11d15a26cf588417af067a9f036a6f015 /usr/local/www/status_rrd_graph_img.php
parent45438fd3fd14a76491f633bf9d34bc239cabb876 (diff)
downloadpfsense-65eb0f61a42e2690b9b7055409a7a2efba9a26a9.zip
pfsense-65eb0f61a42e2690b9b7055409a7a2efba9a26a9.tar.gz
Remove useless code, variable is set again on next line
Diffstat (limited to 'usr/local/www/status_rrd_graph_img.php')
-rw-r--r--usr/local/www/status_rrd_graph_img.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/local/www/status_rrd_graph_img.php b/usr/local/www/status_rrd_graph_img.php
index ef0f9ee..321e6ab 100644
--- a/usr/local/www/status_rrd_graph_img.php
+++ b/usr/local/www/status_rrd_graph_img.php
@@ -64,9 +64,6 @@ if ($_GET['graph']) {
$now = time();
if (is_numeric($_GET['start'])) {
- if($start < ($now - (3600 * 24 * 365 * 5))) {
- $start = $now - (8 * 3600);
- }
$start = $_GET['start'];
} else {
$start = $now - (8 * 3600);
OpenPOWER on IntegriCloud