mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
feed related
This commit is contained in:
parent
43f8dd6802
commit
d20e1a6f93
7 changed files with 215 additions and 63 deletions
|
@ -150,4 +150,17 @@ EOT;
|
|||
$o .= " </ul>\r\n </div>\r\n</div>";
|
||||
|
||||
return $o;
|
||||
}
|
||||
}
|
||||
|
||||
function expand_groups($a) {
|
||||
if(! (is_array($a) && count($a)))
|
||||
return array();
|
||||
$groups = implode(',', $a);
|
||||
$groups = dbesc($groups);
|
||||
$r = q("SELECT `contact-id` FROM `group_member` WHERE `gid` IN ( $groups )");
|
||||
$ret = array();
|
||||
if(count($r))
|
||||
foreach($r as $rr)
|
||||
$ret[] = $rr['contact-id'];
|
||||
return $ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue