]> git.mxchange.org Git - friendica-addons.git/blobdiff - twitter/twitter.php
Some more old photos ...
[friendica-addons.git] / twitter / twitter.php
index e38ea8a7e0cb0afa9bdce5ce24ebbdc01bbc2ff9..e8e89031646dcbdb6a5cae57cba0fbc8a8d0ee1c 100644 (file)
@@ -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) {