mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
added spaces + curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
f3529e7dbc
commit
fc9dbc0899
5 changed files with 27 additions and 13 deletions
|
@ -1188,16 +1188,17 @@ function update_suggestions() {
|
|||
|
||||
if(strlen(get_config('system','directory'))) {
|
||||
$x = fetch_url(get_server()."/pubsites");
|
||||
if($x) {
|
||||
if ($x) {
|
||||
$j = json_decode($x);
|
||||
if($j->entries) {
|
||||
if ($j->entries) {
|
||||
foreach($j->entries as $entry) {
|
||||
|
||||
poco_check_server($entry->url);
|
||||
|
||||
$url = $entry->url . '/poco';
|
||||
if(! in_array($url,$done))
|
||||
if (! in_array($url,$done)) {
|
||||
poco_load(0,0,0,$entry->url . '/poco');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue