]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed new checkstyle issues in util.php from build #1341.
authorDiederik de Haas <diederik@cknow.org>
Fri, 9 Nov 2012 23:58:03 +0000 (00:58 +0100)
committerDiederik de Haas <diederik@cknow.org>
Fri, 9 Nov 2012 23:58:03 +0000 (00:58 +0100)
lib/util.php

index 8574ec31d83a2076c793750975055678c8b52b89..73b72bad1a5370aea34cd37a6a156cf884511cc7 100755 (executable)
@@ -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{