diff --git a/index.php b/index.php index 12b2d8f406d1d9b7504e036ca3ba72d60e7ff12b..bf0b287a64b60064248386a7c9e822bfc68d6b6d 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 4d4937377b3b0ae98e63a0770a3361c228f7e85a..32c2cfe6e48340ea7a7ebb6b0fe1ae59a78399ba 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);