From efb2e692300452f4a82f4136d595c6cdb0e33a9f Mon Sep 17 00:00:00 2001
From: Georg Ehrke <developer@georgehrke.com>
Date: Wed, 22 May 2013 12:21:11 +0200
Subject: [PATCH] fix return value of OC_Util::isinternetconnectionworking()

---
 lib/util.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util.php b/lib/util.php
index 48c224a303..51f9fcffc4 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.
-- 
GitLab