summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2007-10-18 03:23:36 +0000
committerBill Marquette <billm@pfsense.org>2007-10-18 03:23:36 +0000
commitb4b3cf425bb0d8910b9bd04f57acadc959ef9a66 (patch)
tree81bb259e0646c8a07047e007795e68146cdf8517 /usr
parent639aaa954cc2c87aa0d85fef1659d3f0c5afdcb9 (diff)
downloadpfsense-b4b3cf425bb0d8910b9bd04f57acadc959ef9a66.zip
pfsense-b4b3cf425bb0d8910b9bd04f57acadc959ef9a66.tar.gz
why add 30 seconds to uptime if we have been up greater than 60 seconds?
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/includes/functions.inc.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php
index 21a89f3..b7c5b4f 100644
--- a/usr/local/www/includes/functions.inc.php
+++ b/usr/local/www/includes/functions.inc.php
@@ -27,8 +27,6 @@ function get_uptime() {
$boottime = $matches[1];
$uptime = time() - $boottime;
- if ($uptime > 60)
- $uptime += 30;
$updays = (int)($uptime / 86400);
$uptime %= 86400;
$uphours = (int)($uptime / 3600);
OpenPOWER on IntegriCloud