mirror of
https://github.com/friendica/friendica
synced 2025-04-28 13:04:23 +02:00
Renamed function, beginning to replace the "remote_user" function
This commit is contained in:
parent
1ddd2df4b8
commit
6e9026e033
7 changed files with 29 additions and 54 deletions
|
@ -18,6 +18,7 @@ use Friendica\Core\PConfig;
|
|||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Session;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Protocol\ActivityPub;
|
||||
|
@ -3263,7 +3264,7 @@ class Item extends BaseObject
|
|||
public static function getPermissionsSQLByUserId($owner_id)
|
||||
{
|
||||
$local_user = local_user();
|
||||
$remote_user = remote_user($owner_id);
|
||||
$remote_user = Session::getRemoteContactID($owner_id);
|
||||
|
||||
/*
|
||||
* Construct permissions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue