GContact renamed

Rename and update references for GlobalContact
This commit is contained in:
Adam Magness 2017-11-13 12:20:30 -05:00
parent 9c618c80af
commit b638efe8f9
3 changed files with 6 additions and 6 deletions

View file

@ -48,7 +48,7 @@ require_once 'include/enotify.php';
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Model\GContact;
use Friendica\Model\GlobalContact;
class StatusNetOAuth extends TwitterOAuth {
function get_maxlength() {
@ -929,7 +929,7 @@ function statusnet_fetch_contact($uid, $contact, $create_user) {
if ($contact->statusnet_profile_url == "")
return(-1);
GContact::update(array("url" => $contact->statusnet_profile_url,
GlobalContact::update(array("url" => $contact->statusnet_profile_url,
"network" => NETWORK_STATUSNET, "photo" => $contact->profile_image_url,
"name" => $contact->name, "nick" => $contact->screen_name,
"location" => $contact->location, "about" => $contact->description,