mirror of
https://github.com/openvk/openvk
synced 2025-03-21 08:48:13 +03:00
chore(statistics): change behavior of active users count (#1254)
This commit is contained in:
parent
9ef7d2d7c4
commit
4815186b79
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class Users
|
|||
{
|
||||
return (object) [
|
||||
"all" => (clone $this->users)->count('*'),
|
||||
"active" => (clone $this->users)->where("online > 0")->count('*'),
|
||||
"active" => (clone $this->users)->where("online >= ?", time() - MONTH)->count('*'),
|
||||
"online" => (clone $this->users)->where("online >= ?", time() - 900)->count('*'),
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue