mirror of
https://github.com/friendica/friendica
synced 2025-05-01 09:04:24 +02:00
Rename Model\GlobalContact to Model\GContact
This commit is contained in:
parent
3772cf7544
commit
bc58e8d3be
23 changed files with 71 additions and 71 deletions
|
@ -10,7 +10,7 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GlobalContact;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Network\Probe;
|
||||
use Friendica\Object\Image;
|
||||
use Friendica\Util\Lock;
|
||||
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue