summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2013-02-21 05:58:34 -0800
committerBjörn Schießle <bjoern@schiessle.org>2013-02-21 05:58:34 -0800
commit0a6e9933fc669a95d874985cea82ed0c8591a025 (patch)
tree26b5a3db9c8d6ca801e5640a6270172a2f25ad84 /lib
parentc8c0e72e730330f7f066137c2045572a5349ec7e (diff)
parent7b7994b56b60cd44d1e28252505319235557c23c (diff)
downloadnextcloud-server-0a6e9933fc669a95d874985cea82ed0c8591a025.tar.gz
nextcloud-server-0a6e9933fc669a95d874985cea82ed0c8591a025.zip
Merge pull request #1812 from owncloud/add-logging-to-webdav-test-master
Enhancment to the WebDAV-Testing ...
Diffstat (limited to 'lib')
-rwxr-xr-xlib/util.php3
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;
}