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 <roland@mxchange.org>
This commit is contained in:
parent
cf4bacdbd6
commit
3feece56dc
1 changed files with 5 additions and 2 deletions
|
@ -625,8 +625,11 @@ function acl_lookup(App $a, $out_type = 'json') {
|
||||||
$items = array_merge($groups, $contacts);
|
$items = array_merge($groups, $contacts);
|
||||||
|
|
||||||
if ($conv_id) {
|
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']); }
|
function _contact_link($i) { return dbesc($i['link']); }
|
||||||
$known_contacts = array_map('_contact_link', $contacts);
|
$known_contacts = array_map('_contact_link', $contacts);
|
||||||
$unknow_contacts = array();
|
$unknow_contacts = array();
|
||||||
|
|
Loading…
Reference in a new issue