From ea42014ba4e7ad44a290f968b1a1439f78c1117c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Fri, 8 Feb 2013 15:23:26 +0100
Subject: [PATCH] in case curl is not present we cannot test

---
 lib/util.php | 4 ++++
 1 file changed, 4 insertions(+)

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'),
 		);
-- 
GitLab