X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FOStatus.php;h=2a021c89e9a3dac70fdb5cd42d857c1b6725a697;hb=89ad41aca5acaee12032eaa2704436ca5ce5dad2;hp=0f14c77c39747ab8d0010dbfd97ab052b97bffb1;hpb=3fc3e67b706cf79e661b3a19def622faca1e5756;p=friendica.git diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 0f14c77c39..2a021c89e9 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -9,9 +9,9 @@ use Friendica\Core\Cache; use Friendica\Core\Config; use Friendica\Core\System; use Friendica\Database\DBM; -use Friendica\Model\GlobalContact; +use Friendica\Model\Contact; +use Friendica\Model\GContact; use Friendica\Network\Probe; -use Friendica\Object\Contact; use Friendica\Object\Image; use Friendica\Util\Lock; use Friendica\Util\XML; @@ -226,9 +226,9 @@ class OStatus $contact["generation"] = 2; $contact["hide"] = false; // OStatus contacts are never hidden $contact["photo"] = $author["author-avatar"]; - $gcid = GlobalContact::update($contact); + $gcid = GContact::update($contact); - GlobalContact::link($gcid, $contact["uid"], $contact["id"]); + GContact::link($gcid, $contact["uid"], $contact["id"]); } return $author;