From 9c618c80af24108c1564b9f8bc198cfc6a1d6634 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Mon, 13 Nov 2017 01:52:26 -0500 Subject: [PATCH] Review updates changes from review for function name changes. --- pumpio/pumpio.php | 2 +- statusnet/statusnet.php | 2 +- twitter/twitter.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 11d0e190..a59d7619 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -968,7 +968,7 @@ function pumpio_dolike(&$a, $uid, $self, $post, $own_id, $threadcompletion = tru function pumpio_get_contact($uid, $contact, $no_insert = false) { - GContact::updateGContact(array("url" => $contact->url, "network" => NETWORK_PUMPIO, "generation" => 2, + GContact::update(array("url" => $contact->url, "network" => NETWORK_PUMPIO, "generation" => 2, "photo" => $contact->image->url, "name" => $contact->displayName, "hide" => true, "nick" => $contact->preferredUsername, "location" => $contact->location->displayName, "about" => $contact->summary, "addr" => str_replace("acct:", "", $contact->id))); diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index a482645b..bc0f3143 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -929,7 +929,7 @@ function statusnet_fetch_contact($uid, $contact, $create_user) { if ($contact->statusnet_profile_url == "") return(-1); - GContact::updateGContact(array("url" => $contact->statusnet_profile_url, + GContact::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, diff --git a/twitter/twitter.php b/twitter/twitter.php index bd2c627a..a4017562 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -956,7 +956,7 @@ function twitter_fetch_contact($uid, $contact, $create_user) { $avatar = twitter_fix_avatar($contact->profile_image_url_https); - GContact::updateGContact(array("url" => "https://twitter.com/".$contact->screen_name, + GContact::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, -- 2.39.5