Fixed new checkstyle issues in util.php from build #1341.

This commit is contained in:
Diederik de Haas 2012-11-10 00:58:03 +01:00
parent 20541c610e
commit f6daddadf5
1 changed files with 2 additions and 2 deletions

View File

@ -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{