From 56bc1bae18f909eb6131a428f3a741a2d9c01a41 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 2 Dec 2017 08:03:59 +0000 Subject: [PATCH] Some more old photos ... --- statusnet/statusnet.php | 4 ---- twitter/twitter.php | 4 ---- 2 files changed, 8 deletions(-) diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 3c6ac499..8433580f 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -998,8 +998,6 @@ function statusnet_fetch_contact($uid, $contact, $create_user) { group_add_member($uid,'',$contact_id,$g[0]['def_gid']); } - require_once("Photo.php"); - $photos = Photo::importProfilePhoto($contact->profile_image_url,$uid,$contact_id); q("UPDATE `contact` SET `photo` = '%s', @@ -1025,8 +1023,6 @@ function statusnet_fetch_contact($uid, $contact, $create_user) { logger("statusnet_fetch_contact: Updating contact ".$contact->screen_name, LOGGER_DEBUG); - require_once("Photo.php"); - $photos = Photo::importProfilePhoto($contact->profile_image_url, $uid, $r[0]['id']); q("UPDATE `contact` SET `photo` = '%s', diff --git a/twitter/twitter.php b/twitter/twitter.php index e38ea8a7..e8e89031 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1024,8 +1024,6 @@ function twitter_fetch_contact($uid, $contact, $create_user) { group_add_member($uid,'',$contact_id,$g[0]['def_gid']); } - require_once("Photo.php"); - $photos = Photo::importProfilePhoto($avatar, $uid, $contact_id, true); if ($photos) { @@ -1057,8 +1055,6 @@ function twitter_fetch_contact($uid, $contact, $create_user) { logger("twitter_fetch_contact: Updating contact ".$contact->screen_name, LOGGER_DEBUG); - require_once("Photo.php"); - $photos = Photo::importProfilePhoto($avatar, $uid, $r[0]['id'], true); if ($photos) { -- 2.39.5