mirror of
https://github.com/friendica/friendica
synced 2025-04-23 23:50:12 +00: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
|
@ -11,6 +11,7 @@ use Friendica\Core\PConfig;
|
|||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Session;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\FileTag;
|
||||
|
@ -339,7 +340,7 @@ class Widget
|
|||
|
||||
$zcid = 0;
|
||||
|
||||
$cid = remote_user($profile_uid);
|
||||
$cid = Session::getRemoteContactID($profile_uid);
|
||||
|
||||
if (!$cid) {
|
||||
if (Profile::getMyURL()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue