]> git.mxchange.org Git - friendica.git/blobdiff - include/socgraph.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / include / socgraph.php
index 3fe1227f313c46037a6b2b2b2d8e519c97c0b536..a779e88effb53bdbfd2988e300aca5682914c1a2 100644 (file)
@@ -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');
+                                       }
                                }
                        }
                }