From b4b3cf425bb0d8910b9bd04f57acadc959ef9a66 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Thu, 18 Oct 2007 03:23:36 +0000 Subject: why add 30 seconds to uptime if we have been up greater than 60 seconds? --- usr/local/www/includes/functions.inc.php | 2 -- 1 file changed, 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); -- cgit v1.1