]> git.mxchange.org Git - friendica.git/commitdiff
Added reminder
authorMichael <heluecht@pirati.ca>
Thu, 19 Jan 2017 07:09:56 +0000 (07:09 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 19 Jan 2017 07:09:56 +0000 (07:09 +0000)
include/acl_selectors.php

index fccdb80665974f98df95047592697052c5ecd222..f4b644d68fb0201a322db05d497f324fe31f74df 100644 (file)
@@ -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`