diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-20 23:11:38 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-20 23:11:38 +0100 |
commit | 7b7994b56b60cd44d1e28252505319235557c23c (patch) | |
tree | 24ba2084f749a348f0c5a6bcaf8a392d777c94d2 /lib | |
parent | d2f9c3e8e721a341213c91b67b3b4ede070a59a5 (diff) | |
download | nextcloud-server-7b7994b56b60cd44d1e28252505319235557c23c.tar.gz nextcloud-server-7b7994b56b60cd44d1e28252505319235557c23c.zip |
WebDAV-Testing:
- write the exception to the log
- in case curl is missing we should return true as well
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/util.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 636f3127f49..5d3286204e4 100755 --- a/lib/util.php +++ b/lib/util.php @@ -562,7 +562,7 @@ class OC_Util { */ public static function isWebDAVWorking() { if (!function_exists('curl_init')) { - return; + return true; } $settings = array( @@ -578,6 +578,7 @@ class OC_Util { } catch(\Sabre_DAV_Exception_NotAuthenticated $e) { $return = true; } catch(\Exception $e) { + OC_Log::write('core', 'isWebDAVWorking: NO - Reason: '.$e, OC_Log::WARN); $return = false; } |