mirror of
https://github.com/danog/telerpc.git
synced 2024-11-29 20:29:08 +01:00
Add more global codes
This commit is contained in:
parent
a17dfbb8c4
commit
321ce2191b
@ -108,7 +108,7 @@ final class Main
|
||||
$r = [];
|
||||
$errors = [];
|
||||
$bot_only = [];
|
||||
$q->fetchAll(PDO::FETCH_FUNC, function ($method, $code, $error) use (&$r, &$bot_only, $core) {
|
||||
$q->fetchAll(PDO::FETCH_FUNC, function ($method, $code, $error) use (&$r, &$bot_only, &$errors, $core) {
|
||||
if ($core && ($error === 'UPDATE_APP_TO_LOGIN' || $error === 'UPDATE_APP_REQUIRED')) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user