summaryrefslogtreecommitdiffstats
path: root/lib/ocsclient.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-10-23 08:01:09 +0200
committerFelix Moeller <mail@felixmoeller.de>2012-10-23 08:01:09 +0200
commit2d61f0345297a92d23751d3228b74c6dca94d1e5 (patch)
treeb65ce0d556196098253dec35ce9d46aeaba58491 /lib/ocsclient.php
parent6a00a6b9ed49f9a9da044772e7ca7f3506672100 (diff)
downloadnextcloud-server-2d61f0345297a92d23751d3228b74c6dca94d1e5.tar.gz
nextcloud-server-2d61f0345297a92d23751d3228b74c6dca94d1e5.zip
More Checkstyle cleanup
This is for all LowerCaseConstant warnings
Diffstat (limited to 'lib/ocsclient.php')
-rw-r--r--lib/ocsclient.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/ocsclient.php b/lib/ocsclient.php
index 3c80f319662..4d4937377b3 100644
--- a/lib/ocsclient.php
+++ b/lib/ocsclient.php
@@ -76,12 +76,12 @@ class OC_OCSClient{
*/
public static function getCategories() {
if(OC_Config::getValue('appstoreenabled', true)==false) {
- return NULL;
+ return null;
}
$url=OC_OCSClient::getAppStoreURL().'/content/categories';
$xml=OC_OCSClient::getOCSresponse($url);
if($xml==FALSE) {
- return NULL;
+ return null;
}
$data=simplexml_load_string($xml);
@@ -156,14 +156,14 @@ class OC_OCSClient{
*/
public static function getApplication($id) {
if(OC_Config::getValue('appstoreenabled', true)==false) {
- return NULL;
+ return null;
}
$url=OC_OCSClient::getAppStoreURL().'/content/data/'.urlencode($id);
$xml=OC_OCSClient::getOCSresponse($url);
- if($xml==FALSE) {
+ if($xml==false) {
OC_Log::write('core','Unable to parse OCS content',OC_Log::FATAL);
- return NULL;
+ return null;
}
$data=simplexml_load_string($xml);
@@ -194,14 +194,14 @@ class OC_OCSClient{
*/
public static function getApplicationDownload($id,$item) {
if(OC_Config::getValue('appstoreenabled', true)==false) {
- return NULL;
+ return null;
}
$url=OC_OCSClient::getAppStoreURL().'/content/download/'.urlencode($id).'/'.urlencode($item);
$xml=OC_OCSClient::getOCSresponse($url);
- if($xml==FALSE) {
+ if($xml==false) {
OC_Log::write('core','Unable to parse OCS content',OC_Log::FATAL);
- return NULL;
+ return null;
}
$data=simplexml_load_string($xml);
@@ -237,9 +237,9 @@ class OC_OCSClient{
$kbe=array();
$xml=OC_OCSClient::getOCSresponse($url);
- if($xml==FALSE) {
+ if($xml==false) {
OC_Log::write('core','Unable to parse knowledgebase content',OC_Log::FATAL);
- return NULL;
+ return null;
}
$data=simplexml_load_string($xml);