fixing missing network hashrate in this branch

This commit is contained in:
Sebastian Grewe 2013-08-20 15:58:17 +02:00
parent 526701d2e1
commit 7769550f89

View File

@ -20,7 +20,7 @@ if ($bitcoin->can_connect() === true) {
} }
// Always fetch this since we need for ministats header // Always fetch this since we need for ministats header
//$bitcoin->can_connect() === true ? $dNetworkHashrate = $bitcoin->query('getnetworkhashps') : $dNetworkHashrate = 0; $bitcoin->can_connect() === true ? $dNetworkHashrate = $bitcoin->query('getnetworkhashps') : $dNetworkHashrate = 0;
// Fetch some data // Fetch some data
if (!$iCurrentActiveWorkers = $worker->getCountAllActiveWorkers()) $iCurrentActiveWorkers = 0; if (!$iCurrentActiveWorkers = $worker->getCountAllActiveWorkers()) $iCurrentActiveWorkers = 0;