summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.php')
-rwxr-xr-xlib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 8574ec31d83..73b72bad1a5 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{