mirror of
https://github.com/v2board/v2board.git
synced 2025-06-12 20:47:56 +08:00
update
This commit is contained in:
@ -82,8 +82,7 @@ class UserService
|
||||
|
||||
public function trafficFetch(int $u, int $d, int $userId, object $server, string $protocol):bool
|
||||
{
|
||||
$user = User::lockForUpdate()
|
||||
->find($userId);
|
||||
$user = User::find($userId);
|
||||
if (!$user) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user