mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 23:54:28 +02:00
Formatting
This commit is contained in:
parent
c4d52feea5
commit
242fd646d2
3 changed files with 21 additions and 21 deletions
|
@ -36,14 +36,14 @@ class VerifyCredentials extends BaseApi
|
|||
{
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
||||
|
||||
$skip_status = $_REQUEST['skip_status'] ?? false;
|
||||
|
||||
|
||||
$user_info = DI::twitterUser()->createFromUserId($uid, $skip_status)->toArray();
|
||||
|
||||
|
||||
// "verified" isn't used here in the standard
|
||||
unset($user_info["verified"]);
|
||||
|
||||
|
||||
// "uid" is only needed for some internal stuff, so remove it from here
|
||||
unset($user_info['uid']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue