summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xindex.php2
-rw-r--r--lib/ocsclient.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/index.php b/index.php
index 12b2d8f406d..bf0b287a64b 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 4d4937377b3..32c2cfe6e48 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);