mirror of
https://github.com/friendica/friendica
synced 2025-04-22 01:50:11 +00:00
Use correct function to fetch the self user
This commit is contained in:
parent
ae99144f57
commit
2c6afe65a7
3 changed files with 10 additions and 17 deletions
|
@ -329,9 +329,6 @@ class BaseApi extends BaseModule
|
|||
}
|
||||
|
||||
$user_info = DI::twitterUser()->createFromContactId($cid)->toArray();
|
||||
if (empty($user_info)) {
|
||||
return $arr;
|
||||
}
|
||||
|
||||
$arr['$user'] = $user_info;
|
||||
$arr['$rss'] = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue