From: Thomas Müller Date: Fri, 8 Feb 2013 14:23:26 +0000 (+0100) Subject: in case curl is not present we cannot test X-Git-Tag: v5.0.0alpha1~62^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ea42014ba4e7ad44a290f968b1a1439f78c1117c;p=nextcloud-server.git in case curl is not present we cannot test --- 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'), );