]> source.dussan.org Git - nextcloud-server.git/commitdiff
Checkstyle: LowerCaseConstant
authorFelix Moeller <mail@felixmoeller.de>
Tue, 23 Oct 2012 06:20:17 +0000 (08:20 +0200)
committerFelix Moeller <mail@felixmoeller.de>
Tue, 23 Oct 2012 06:20:17 +0000 (08:20 +0200)
index.php
lib/ocsclient.php

index 12b2d8f406d1d9b7504e036ca3ba72d60e7ff12b..bf0b287a64b60064248386a7c9e822bfc68d6b6d 100755 (executable)
--- 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';
 
index 4d4937377b3b0ae98e63a0770a3361c228f7e85a..32c2cfe6e48340ea7a7ebb6b0fe1ae59a78399ba 100644 (file)
@@ -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);