mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
parent
3ae9def10a
commit
b35b87567b
1 changed files with 9 additions and 1 deletions
|
@ -33,6 +33,14 @@ final class Users extends VKAPIRequestHandler
|
||||||
"last_name" => "",
|
"last_name" => "",
|
||||||
"deactivated" => "deleted"
|
"deactivated" => "deleted"
|
||||||
];
|
];
|
||||||
|
} else if($usr->isBanned()) {
|
||||||
|
$response[$i] = (object)[
|
||||||
|
"id" => $usr->getId(),
|
||||||
|
"first_name" => $usr->getFirstName(),
|
||||||
|
"last_name" => $usr->getLastName(),
|
||||||
|
"deactivated" => "banned",
|
||||||
|
"ban_reason" => $usr->getBanReason()
|
||||||
|
];
|
||||||
} else if($usrs[$i] == NULL) {
|
} else if($usrs[$i] == NULL) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue