Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-03-16 13:28:23 +0300
committerLukas Reschke <lukas@owncloud.com>2015-03-25 18:04:41 +0300
commit5f044ebf1bc6f45acec2e79dc05185acd0405f42 (patch)
tree8bc8797ef55588d3aab1b160acb3e2f5576d460f /settings/ajax
parent13904a7f8979a87492ac765e05017eb1e4b69588 (diff)
Add wrapper for Guzzle
Diffstat (limited to 'settings/ajax')
-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(