diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-08 15:23:26 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-08 15:23:26 +0100 |
commit | ea42014ba4e7ad44a290f968b1a1439f78c1117c (patch) | |
tree | d3cdfe63d5d98a5bb1906e9c3206c25f0fd60e70 /lib/util.php | |
parent | 5788d36c8d1e9869d8a645293805e3b0265ea238 (diff) | |
download | nextcloud-server-ea42014ba4e7ad44a290f968b1a1439f78c1117c.tar.gz nextcloud-server-ea42014ba4e7ad44a290f968b1a1439f78c1117c.zip |
in case curl is not present we cannot test
Diffstat (limited to 'lib/util.php')
-rwxr-xr-x | lib/util.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index 5f796e7565f..7e183041d54 100755 --- a/lib/util.php +++ b/lib/util.php @@ -528,6 +528,10 @@ class OC_Util { * */ public static function isWebDAVWorking() { + if (!function_exists('curl_init')) { + return; + } + $settings = array( 'baseUri' => OC_Helper::linkToRemote('webdav'), ); |