From ddfcc96ab5e72e90bcb0858ac92e617e6d70a993 Mon Sep 17 00:00:00 2001 From: Felix Moeller Date: Tue, 23 Oct 2012 08:20:17 +0200 Subject: [PATCH] Checkstyle: LowerCaseConstant --- index.php | 2 +- lib/ocsclient.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 12b2d8f406..bf0b287a64 100755 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ * */ -$RUNTIME_NOAPPS = TRUE; //no apps, yet +$RUNTIME_NOAPPS = true; //no apps, yet require_once 'lib/base.php'; diff --git a/lib/ocsclient.php b/lib/ocsclient.php index 4d4937377b..32c2cfe6e4 100644 --- a/lib/ocsclient.php +++ b/lib/ocsclient.php @@ -80,7 +80,7 @@ class OC_OCSClient{ } $url=OC_OCSClient::getAppStoreURL().'/content/categories'; $xml=OC_OCSClient::getOCSresponse($url); - if($xml==FALSE) { + if($xml==false) { return null; } $data=simplexml_load_string($xml); @@ -122,8 +122,8 @@ class OC_OCSClient{ $apps=array(); $xml=OC_OCSClient::getOCSresponse($url); - if($xml==FALSE) { - return NULL; + if($xml==false) { + return null; } $data=simplexml_load_string($xml);