]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix return value of OC_Util::isinternetconnectionworking()
authorGeorg Ehrke <developer@georgehrke.com>
Wed, 22 May 2013 10:21:11 +0000 (12:21 +0200)
committerGeorg Ehrke <developer@georgehrke.com>
Wed, 22 May 2013 10:21:11 +0000 (12:21 +0200)
lib/util.php

index 48c224a3034b27c4ec84c23d64df495850a8b2f5..51f9fcffc435434e7266caa4aeaf38387552657e 100755 (executable)
@@ -644,7 +644,7 @@ class OC_Util {
 
                // in case there is no internet connection on purpose there is no need to display a warning
                if (!\OC_Config::getValue("has_internet_connection", true)) {
-                       return true;
+                       return false;
                }
 
                // try to connect to owncloud.org to see if http connections to the internet are possible.