summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-05-22 12:21:11 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-05-22 12:21:11 +0200
commitefb2e692300452f4a82f4136d595c6cdb0e33a9f (patch)
tree096c2e8f4551d1813f45560fc3a0d5a962810425 /lib/util.php
parent9fd2be07579e7c86e3041b288734e26997ef6954 (diff)
downloadnextcloud-server-efb2e692300452f4a82f4136d595c6cdb0e33a9f.tar.gz
nextcloud-server-efb2e692300452f4a82f4136d595c6cdb0e33a9f.zip
fix return value of OC_Util::isinternetconnectionworking()
Diffstat (limited to 'lib/util.php')
-rwxr-xr-xlib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 48c224a3034..51f9fcffc43 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -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.