aboutsummaryrefslogtreecommitdiffstats
path: root/include/auth.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-21 17:23:21 -0700
committerfriendica <info@friendica.com>2012-10-21 17:23:21 -0700
commit87c171030c8de2e36f284fa6b58f11a5535a9a29 (patch)
tree6fb23786422aa14c408e7db916b707017fe000b1 /include/auth.php
parent2651b60349fc38023a2512cd5504744949a5240a (diff)
downloadvolse-hubzilla-87c171030c8de2e36f284fa6b58f11a5535a9a29.tar.gz
volse-hubzilla-87c171030c8de2e36f284fa6b58f11a5535a9a29.tar.bz2
volse-hubzilla-87c171030c8de2e36f284fa6b58f11a5535a9a29.zip
upstream fixes
Diffstat (limited to 'include/auth.php')
-rw-r--r--include/auth.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/auth.php b/include/auth.php
index d184b5ff7..3f877cd1d 100644
--- a/include/auth.php
+++ b/include/auth.php
@@ -185,23 +185,3 @@ else {
}
}
-// Returns an array of group id's this contact is a member of.
-// This array will only contain group id's related to the uid of this
-// DFRN contact. They are *not* neccessarily unique across the entire site.
-
-
-if(! function_exists('init_groups_visitor')) {
-function init_groups_visitor($contact_id) {
- $groups = array();
- $r = q("SELECT `gid` FROM `group_member`
- WHERE `contact-id` = %d ",
- intval($contact_id)
- );
- if(count($r)) {
- foreach($r as $rr)
- $groups[] = $rr['gid'];
- }
- return $groups;
-}}
-
-