From 68dfd2ddbce7cb2416d3b8641f24ec89f8a4fce1 Mon Sep 17 00:00:00 2001 From: kanoi Date: Sat, 4 Oct 2014 23:16:39 +1000 Subject: [PATCH] php - always use 5min hash rate for pool top left --- pool/page.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pool/page.php b/pool/page.php index b9fca6ed..298f4806 100644 --- a/pool/page.php +++ b/pool/page.php @@ -164,10 +164,10 @@ function pgtop($dotop, $user, $douser) if (isset($info['p_hashrate5m'])) $phr = $info['p_hashrate5m']; - if (isset($info['p_elapsed']) - and isset($info['p_hashrate1hr']) - and $info['p_elapsed'] > 3600) - $phr = $info['p_hashrate1hr']; +// if (isset($info['p_elapsed']) +// and isset($info['p_hashrate1hr']) +// and $info['p_elapsed'] > 3600) +// $phr = $info['p_hashrate1hr']; if ($phr == '?') $phr = '?THs';