more ui cleanup

This commit is contained in:
friendica
2012-10-24 20:43:04 -07:00
parent ceeb4db6e3
commit 05fd2c758c
3 changed files with 21 additions and 16 deletions

View File

@@ -20,7 +20,6 @@ function acl_init(&$a){
$search = $_REQUEST['query'];
}
logger("acl: $search");
if(! (local_user() || $type == 'x'))
return "";
@@ -170,7 +169,7 @@ logger("acl: $search");
foreach($r as $g) {
$x['photos'][] = $g['micro'];
$x['links'][] = $g['url'];
$x['suggestions'][] = $g['name'];
$x['suggestions'][] = (($type === 'x') ? '@' : '') . $g['name'];
$x['data'][] = intval($g['id']);
}
}