mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:50:10 +00:00
"getUserId" is now "getLoggedInUserId"
This commit is contained in:
parent
15b93b4459
commit
c81e81dc8d
23 changed files with 31 additions and 31 deletions
|
@ -37,7 +37,7 @@ class ItemCCEMail extends Email
|
|||
{
|
||||
public function __construct(App $a, L10n $l10n, BaseURL $baseUrl, array $item, string $toAddress, string $authorThumb)
|
||||
{
|
||||
$user = User::getById($a->getUserId());
|
||||
$user = User::getById($a->getLoggedInUserId());
|
||||
|
||||
$disclaimer = '<hr />' . $l10n->t('This message was sent to you by %s, a member of the Friendica social network.', $user['username'])
|
||||
. '<br />';
|
||||
|
|
|
@ -870,7 +870,7 @@ class Post
|
|||
return '';
|
||||
}
|
||||
|
||||
$owner = User::getOwnerDataById($a->getUserId());
|
||||
$owner = User::getOwnerDataById($a->getLoggedInUserId());
|
||||
|
||||
if (!Feature::isEnabled(local_user(), 'explicit_mentions')) {
|
||||
return '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue