Remove references to include/group.php
This commit is contained in:
parent
2dc299ff17
commit
6e6f64a537
|
@ -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"];
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue