Remove references to include/group.php
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 9 Dec 2017 18:50:44 +0000 (13:50 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 9 Dec 2017 18:50:44 +0000 (13:50 -0500)
pumpio/pumpio.php
statusnet/statusnet.php
twitter/twitter.php

index e60c631..4ec456a 100644 (file)
@@ -1024,7 +1024,6 @@ function pumpio_get_contact($uid, $contact, $no_insert = false) {
 
                $contact_id = $r[0]['id'];
 
-                       require_once('include/group.php');
                Group::addMember(User::getDefaultGroup($uid), $contact_id);
        } else {
                $contact_id = $r[0]["id"];
index 94f00f2..4b36859 100644 (file)
@@ -1056,7 +1056,6 @@ function statusnet_fetch_contact($uid, $contact, $create_user)
 
                $contact_id = $r[0]['id'];
 
-                       require_once 'include/group.php';
                Group::addMember(User::getDefaultGroup($uid), $contact_id);
 
                $photos = Photo::importProfilePhoto($contact->profile_image_url, $uid, $contact_id);
index 9973ad9..01fa747 100644 (file)
@@ -1057,7 +1057,6 @@ function twitter_fetch_contact($uid, $contact, $create_user)
 
                $contact_id = $r[0]['id'];
 
-                       require_once 'include/group.php';
                Group::addMember(User::getDefaultGroup($uid), $contact_id);
 
                $photos = Photo::importProfilePhoto($avatar, $uid, $contact_id, true);