Added reminder
This commit is contained in:
parent
0548099f6c
commit
4e91379f4a
1 changed files with 2 additions and 0 deletions
|
@ -495,6 +495,8 @@ function acl_lookup(App $a, $out_type = 'json') {
|
|||
|
||||
if ($type=='' || $type=='g'){
|
||||
|
||||
/// @todo We should cache this query.
|
||||
// This can be done when we can delete cache entries via wildcard
|
||||
$r = q("SELECT `group`.`id`, `group`.`name`, GROUP_CONCAT(DISTINCT `group_member`.`contact-id` SEPARATOR ',') AS uids
|
||||
FROM `group`
|
||||
INNER JOIN `group_member` ON `group_member`.`gid`=`group`.`id` AND `group_member`.`uid` = `group`.`uid`
|
||||
|
|
Loading…
Reference in a new issue