diff options
author | Bill Marquette <billm@pfsense.org> | 2007-10-18 03:23:36 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2007-10-18 03:23:36 +0000 |
commit | b4b3cf425bb0d8910b9bd04f57acadc959ef9a66 (patch) | |
tree | 81bb259e0646c8a07047e007795e68146cdf8517 /usr/local/www/includes | |
parent | 639aaa954cc2c87aa0d85fef1659d3f0c5afdcb9 (diff) | |
download | pfsense-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/local/www/includes')
-rw-r--r-- | usr/local/www/includes/functions.inc.php | 2 |
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); |