summaryrefslogtreecommitdiffstats
path: root/settings/ajax/checksetup.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/checksetup.php')
-rw-r--r--settings/ajax/checksetup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/checksetup.php b/settings/ajax/checksetup.php
index 64718933317..c5f9088534d 100644
--- a/settings/ajax/checksetup.php
+++ b/settings/ajax/checksetup.php
@@ -13,7 +13,7 @@ OCP\JSON::callCheck();
// no warning when has_internet_connection is false in the config
$hasInternet = true;
if (OC_Util::isInternetConnectionEnabled()) {
- $hasInternet = OC_Util::isInternetConnectionWorking();
+ $hasInternet = OC_Util::isInternetConnectionWorking(\OC::$server->getHTTPClientService());
}
OCP\JSON::success(