Renamed function, beginning to replace the "remote_user" function

This commit is contained in:
Michael 2019-09-28 09:36:41 +00:00
parent 1ddd2df4b8
commit 6e9026e033
7 changed files with 29 additions and 54 deletions

View file

@ -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()) {