Remove references to include/group.php

This commit is contained in:
Hypolite Petovan 2017-12-09 13:50:44 -05:00
parent 2dc299ff17
commit 6e6f64a537
3 changed files with 0 additions and 3 deletions

View file

@ -1024,7 +1024,6 @@ function pumpio_get_contact($uid, $contact, $no_insert = false) {
$contact_id = $r[0]['id']; $contact_id = $r[0]['id'];
require_once('include/group.php');
Group::addMember(User::getDefaultGroup($uid), $contact_id); Group::addMember(User::getDefaultGroup($uid), $contact_id);
} else { } else {
$contact_id = $r[0]["id"]; $contact_id = $r[0]["id"];

View file

@ -1056,7 +1056,6 @@ function statusnet_fetch_contact($uid, $contact, $create_user)
$contact_id = $r[0]['id']; $contact_id = $r[0]['id'];
require_once 'include/group.php';
Group::addMember(User::getDefaultGroup($uid), $contact_id); Group::addMember(User::getDefaultGroup($uid), $contact_id);
$photos = Photo::importProfilePhoto($contact->profile_image_url, $uid, $contact_id); $photos = Photo::importProfilePhoto($contact->profile_image_url, $uid, $contact_id);

View file

@ -1057,7 +1057,6 @@ function twitter_fetch_contact($uid, $contact, $create_user)
$contact_id = $r[0]['id']; $contact_id = $r[0]['id'];
require_once 'include/group.php';
Group::addMember(User::getDefaultGroup($uid), $contact_id); Group::addMember(User::getDefaultGroup($uid), $contact_id);
$photos = Photo::importProfilePhoto($avatar, $uid, $contact_id, true); $photos = Photo::importProfilePhoto($avatar, $uid, $contact_id, true);