From: Hypolite Petovan Date: Sat, 9 Dec 2017 18:50:44 +0000 (-0500) Subject: Remove references to include/group.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6e6f64a5374772aca891464ebb08e70aac53c12c;p=friendica-addons.git Remove references to include/group.php --- diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index e60c6317..4ec456a1 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -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"]; diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 94f00f28..4b36859c 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -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); diff --git a/twitter/twitter.php b/twitter/twitter.php index 9973ad92..01fa7471 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -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);