]> git.mxchange.org Git - friendica-addons.git/commitdiff
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 e60c631714dd9fa18fd5e143a1f41bc239604329..4ec456a196eadcccb328ab99bd135a630e3f202d 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 94f00f288029b2c9fe6e410d63183291e314c2ba..4b36859c1e4574a77d83e0c807d63d28142d7222 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 9973ad92ad7a8d3490c27cf62a6d2b0c8395d326..01fa7471afa8a1d918be6cd767e58e53fee45b0d 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);