mirror of
https://github.com/friendica/friendica
synced 2025-05-05 01:04:13 +02:00
Rename Model\GlobalContact to Model\GContact
This commit is contained in:
parent
294689bf94
commit
cd84bf8963
23 changed files with 71 additions and 71 deletions
|
@ -17,7 +17,7 @@ use Friendica\Core\PConfig;
|
|||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GlobalContact;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Network\Probe;
|
||||
use Friendica\Util\XML;
|
||||
|
@ -2245,9 +2245,9 @@ class Diaspora
|
|||
"addr" => $author, "nick" => $nick, "keywords" => $keywords,
|
||||
"hide" => !$searchable, "nsfw" => $nsfw);
|
||||
|
||||
$gcid = GlobalContact::update($gcontact);
|
||||
$gcid = GContact::update($gcontact);
|
||||
|
||||
GlobalContact::link($gcid, $importer["uid"], $contact["id"]);
|
||||
GContact::link($gcid, $importer["uid"], $contact["id"]);
|
||||
|
||||
logger("Profile of contact ".$contact["id"]." stored for user ".$importer["uid"], LOGGER_DEBUG);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue