mirror of
https://github.com/friendica/friendica
synced 2025-04-26 12:30:11 +00:00
"getUserId" is now "getLoggedInUserId"
This commit is contained in:
parent
15b93b4459
commit
c81e81dc8d
23 changed files with 31 additions and 31 deletions
|
@ -195,7 +195,7 @@ class Nav
|
|||
$nav['usermenu'][] = ['notes/', DI::l10n()->t('Personal notes'), '', DI::l10n()->t('Your personal notes')];
|
||||
|
||||
// user info
|
||||
$contact = DBA::selectFirst('contact', ['id', 'url', 'avatar', 'micro', 'name', 'nick', 'baseurl', 'updated'], ['uid' => $a->getUserId(), 'self' => true]);
|
||||
$contact = DBA::selectFirst('contact', ['id', 'url', 'avatar', 'micro', 'name', 'nick', 'baseurl', 'updated'], ['uid' => $a->getLoggedInUserId(), 'self' => true]);
|
||||
$userinfo = [
|
||||
'icon' => Contact::getMicro($contact),
|
||||
'name' => $contact['name'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue