Rename Model\GlobalContact to Model\GContact

This commit is contained in:
Hypolite Petovan 2017-12-07 09:09:28 -05:00
parent 294689bf94
commit cd84bf8963
23 changed files with 71 additions and 71 deletions

View file

@ -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);