mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 09:34:26 +02:00
Replaced "filter_input" with the new request value function
This commit is contained in:
parent
720a43461d
commit
344d514857
11 changed files with 69 additions and 90 deletions
|
@ -37,7 +37,7 @@ class VerifyCredentials extends BaseApi
|
|||
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
$skip_status = filter_var($request['skip_status'] ?? false, FILTER_VALIDATE_BOOLEAN);
|
||||
$skip_status = $this->getRequestValue($request, 'skip_status', false);
|
||||
|
||||
$user_info = DI::twitterUser()->createFromUserId($uid, $skip_status)->toArray();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue