mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-02-08 18:08:13 -05:00
fix: StatUserJob again
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
This commit is contained in:
parent
0b16e49756
commit
819feef80c
@ -57,7 +57,6 @@ class StatUserJob implements ShouldQueue
|
|||||||
if ($stat) {
|
if ($stat) {
|
||||||
$stat->u += ($v[0] * $this->server['rate']);
|
$stat->u += ($v[0] * $this->server['rate']);
|
||||||
$stat->d += ($v[1] * $this->server['rate']);
|
$stat->d += ($v[1] * $this->server['rate']);
|
||||||
$stat->t = time();
|
|
||||||
$stat->save();
|
$stat->save();
|
||||||
} else {
|
} else {
|
||||||
StatUser::create([
|
StatUser::create([
|
||||||
|
Loading…
Reference in New Issue
Block a user