diff --git a/lib/util.php b/lib/util.php index 8574ec31d8..73b72bad1a 100755 --- a/lib/util.php +++ b/lib/util.php @@ -592,14 +592,14 @@ class OC_Util { // try to connect to owncloud.org to see if http connections to the internet are possible. $connected = @fsockopen("www.owncloud.org", 80); - if ($connected){ + if ($connected) { fclose($connected); return true; }else{ // second try in case one server is down $connected = @fsockopen("apps.owncloud.com", 80); - if ($connected){ + if ($connected) { fclose($connected); return true; }else{