summaryrefslogtreecommitdiffstats
path: root/lib/ocsclient.php
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2011-11-07 17:16:56 +0000
committerTom Needham <needham.thomas@gmail.com>2011-11-07 17:16:56 +0000
commit7a8c762e48ce88c7a4e84fd154551992811f119d (patch)
tree90d1c6d1d54970ad43917f1f4b3d06a5f1d1a74d /lib/ocsclient.php
parentd7a7c40a0f0e6d2a527fd93b7c65d16ff096c783 (diff)
parent452a4637647d6dbd54b275aead765d3a2329813e (diff)
downloadnextcloud-server-7a8c762e48ce88c7a4e84fd154551992811f119d.tar.gz
nextcloud-server-7a8c762e48ce88c7a4e84fd154551992811f119d.zip
Merge branch 'master' of gitorious.org:owncloud/owncloud into ace-editor
Diffstat (limited to 'lib/ocsclient.php')
-rw-r--r--lib/ocsclient.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ocsclient.php b/lib/ocsclient.php
index 654c5e0527b..072fd236fee 100644
--- a/lib/ocsclient.php
+++ b/lib/ocsclient.php
@@ -108,6 +108,7 @@ class OC_OCSClient{
$xml=@file_get_contents($url);
if($xml==FALSE){
+ OC_Log::write('core','Unable to parse OCS content',OC_Log::FATAL);
return NULL;
}
$data=simplexml_load_string($xml);
@@ -143,6 +144,7 @@ class OC_OCSClient{
$kbe=array();
$xml=@file_get_contents($url);
if($xml==FALSE){
+ OC_Log::write('core','Unable to parse knowledgebase content',OC_Log::FATAL);
return NULL;
}
$data=simplexml_load_string($xml);