Re-added username in getuserstatus

Upon popular demand *cough* @WKNiGHT- *cough* this is now available in
the data JSON array.
This commit is contained in:
Sebastian Grewe 2013-09-20 18:14:06 +02:00
parent c85b5f0207
commit fdfc82476a

View File

@ -11,6 +11,7 @@ $user_id = $api->checkAccess($user->checkApiKey($_REQUEST['api_key']), @$_REQUES
// Output JSON format
$data = array(
'username' => $user->getUsername($user_id),
'shares' => $statistics->getUserShares($user_id),
'hashrate' => $statistics->getUserHashrate($user_id),
'sharerate' => $statistics->getUserSharerate($user_id)