[FIX] Properly show user sharerate
This commit is contained in:
parent
d863e66ef4
commit
c4d11885e3
@ -325,7 +325,7 @@ class Statistics {
|
|||||||
* @param account_id integer User ID
|
* @param account_id integer User ID
|
||||||
* @return data integer Current Sharerate in shares/s
|
* @return data integer Current Sharerate in shares/s
|
||||||
**/
|
**/
|
||||||
public function getUserSharerate($account_id) {
|
public function getUserSharerate($account_id, $interval) {
|
||||||
$this->debug->append("STA " . __METHOD__, 4);
|
$this->debug->append("STA " . __METHOD__, 4);
|
||||||
if ($data = $this->memcache->get(__FUNCTION__ . $account_id)) return $data;
|
if ($data = $this->memcache->get(__FUNCTION__ . $account_id)) return $data;
|
||||||
$stmt = $this->mysqli->prepare("
|
$stmt = $this->mysqli->prepare("
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user