From fdfc82476ab8d0fd024a90921e9959b73717c189 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Fri, 20 Sep 2013 18:14:06 +0200 Subject: [PATCH] Re-added username in getuserstatus Upon popular demand *cough* @WKNiGHT- *cough* this is now available in the data JSON array. --- public/include/pages/api/getuserstatus.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/include/pages/api/getuserstatus.inc.php b/public/include/pages/api/getuserstatus.inc.php index e7abf7c5..8e0ef7ec 100644 --- a/public/include/pages/api/getuserstatus.inc.php +++ b/public/include/pages/api/getuserstatus.inc.php @@ -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)