mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 02:48:48 +00:00
GContact renamed
Rename and update references for GlobalContact
This commit is contained in:
parent
9c618c80af
commit
b638efe8f9
3 changed files with 6 additions and 6 deletions
|
@ -63,7 +63,7 @@
|
|||
use Friendica\Core\Config;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Model\GlobalContact;
|
||||
|
||||
require_once 'include/enotify.php';
|
||||
|
||||
|
@ -956,7 +956,7 @@ function twitter_fetch_contact($uid, $contact, $create_user) {
|
|||
|
||||
$avatar = twitter_fix_avatar($contact->profile_image_url_https);
|
||||
|
||||
GContact::update(array("url" => "https://twitter.com/".$contact->screen_name,
|
||||
GlobalContact::update(array("url" => "https://twitter.com/".$contact->screen_name,
|
||||
"network" => NETWORK_TWITTER, "photo" => $avatar, "hide" => true,
|
||||
"name" => $contact->name, "nick" => $contact->screen_name,
|
||||
"location" => $contact->location, "about" => $contact->description,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue