forked from friendica/friendica-addons
Some more old photos ...
This commit is contained in:
parent
e8975125cf
commit
56bc1bae18
2 changed files with 0 additions and 8 deletions
|
@ -998,8 +998,6 @@ function statusnet_fetch_contact($uid, $contact, $create_user) {
|
||||||
group_add_member($uid,'',$contact_id,$g[0]['def_gid']);
|
group_add_member($uid,'',$contact_id,$g[0]['def_gid']);
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once("Photo.php");
|
|
||||||
|
|
||||||
$photos = Photo::importProfilePhoto($contact->profile_image_url,$uid,$contact_id);
|
$photos = Photo::importProfilePhoto($contact->profile_image_url,$uid,$contact_id);
|
||||||
|
|
||||||
q("UPDATE `contact` SET `photo` = '%s',
|
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);
|
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']);
|
$photos = Photo::importProfilePhoto($contact->profile_image_url, $uid, $r[0]['id']);
|
||||||
|
|
||||||
q("UPDATE `contact` SET `photo` = '%s',
|
q("UPDATE `contact` SET `photo` = '%s',
|
||||||
|
|
|
@ -1024,8 +1024,6 @@ function twitter_fetch_contact($uid, $contact, $create_user) {
|
||||||
group_add_member($uid,'',$contact_id,$g[0]['def_gid']);
|
group_add_member($uid,'',$contact_id,$g[0]['def_gid']);
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once("Photo.php");
|
|
||||||
|
|
||||||
$photos = Photo::importProfilePhoto($avatar, $uid, $contact_id, true);
|
$photos = Photo::importProfilePhoto($avatar, $uid, $contact_id, true);
|
||||||
|
|
||||||
if ($photos) {
|
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);
|
logger("twitter_fetch_contact: Updating contact ".$contact->screen_name, LOGGER_DEBUG);
|
||||||
|
|
||||||
require_once("Photo.php");
|
|
||||||
|
|
||||||
$photos = Photo::importProfilePhoto($avatar, $uid, $r[0]['id'], true);
|
$photos = Photo::importProfilePhoto($avatar, $uid, $r[0]['id'], true);
|
||||||
|
|
||||||
if ($photos) {
|
if ($photos) {
|
||||||
|
|
Loading…
Reference in a new issue