summaryrefslogtreecommitdiffstats
path: root/usr
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:18:44 -0300
commit592abfa4a4f775324d194a6f8064253a0c98e6c3 (patch)
treed1e863c01a0bdefe71b8cfa9c35f398de027ceef /usr
parente41ab9aa320b4e64a8b99271bb7d3d094da59d56 (diff)
downloadpfsense-592abfa4a4f775324d194a6f8064253a0c98e6c3.zip
pfsense-592abfa4a4f775324d194a6f8064253a0c98e6c3.tar.gz
Remove useless code, variable is set again on next line
Diffstat (limited to 'usr')
-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 b139d5a..387f09b 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