adding share-rate to getuserstatus API
This commit is contained in:
parent
e0b1db19db
commit
5e09208f54
@ -35,7 +35,8 @@ if ( ! $user->isAdmin($user_id) && ($_REQUEST['id'] != $user_id && !empty($_REQU
|
|||||||
echo json_encode(array('getuserstatus' => array(
|
echo json_encode(array('getuserstatus' => array(
|
||||||
'username' => $username,
|
'username' => $username,
|
||||||
'shares' => $statistics->getUserShares($id),
|
'shares' => $statistics->getUserShares($id),
|
||||||
'hashrate' => $statistics->getUserHashrate($id)
|
'hashrate' => $statistics->getUserHashrate($id),
|
||||||
|
'sharerate' => $statistics->getUserSharerate($id)
|
||||||
)));
|
)));
|
||||||
|
|
||||||
// Supress master template
|
// Supress master template
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user