$contact_id = $r[0]['id'];
- require_once('include/group.php');
Group::addMember(User::getDefaultGroup($uid), $contact_id);
} else {
$contact_id = $r[0]["id"];
$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);
$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);