From 3feece56dcba635b28c912d6798a0db6d2a67122 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 14 Apr 2017 15:14:39 +0200 Subject: [PATCH] Continued a bit: - rewrote 2 multi-line single comments to one multi-line comment - added TODO for rewriting function to closure (CR request) Signed-off-by: Roland Haeder --- include/acl_selectors.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/acl_selectors.php b/include/acl_selectors.php index 198b009435..ccba72ec18 100644 --- a/include/acl_selectors.php +++ b/include/acl_selectors.php @@ -625,8 +625,11 @@ function acl_lookup(App $a, $out_type = 'json') { $items = array_merge($groups, $contacts); if ($conv_id) { - /* if $conv_id is set, get unknow contacts in thread */ - /* but first get know contacts url to filter them out */ + /* + * if $conv_id is set, get unknow contacts in thread + * but first get know contacts url to filter them out + * @TODO rewrite below function to closure + */ function _contact_link($i) { return dbesc($i['link']); } $known_contacts = array_map('_contact_link', $contacts); $unknow_contacts = array(); -- 2.39.5