]> source.dussan.org Git - nextcloud-server.git/commitdiff
Respect coding style
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 10:19:04 +0000 (13:19 +0300)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 10:19:04 +0000 (13:19 +0300)
core/ajax/appconfig.php

index bf749be3e30db95dadabc419f663974f6300cae9..3ad9e2326c317dc88c132ff099d42477119087af 100644 (file)
@@ -5,7 +5,7 @@
  * See the COPYING-README file.
  */
 
-require_once ("../../lib/base.php");
+require_once "../../lib/base.php";
 OC_Util::checkAdminUser();
 OCP\JSON::callCheck();
 
@@ -13,10 +13,10 @@ $action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
 $result=false;
 switch($action){
        case 'getValue':
-               $result=OC_Appconfig::getValue($_GET['app'],$_GET['key'],$_GET['defaultValue']);
+               $result=OC_Appconfig::getValue($_GET['app'], $_GET['key'], $_GET['defaultValue']);
                break;
        case 'setValue':
-               $result=OC_Appconfig::setValue($_POST['app'],$_POST['key'],$_POST['value']);
+               $result=OC_Appconfig::setValue($_POST['app'], $_POST['key'], $_POST['value']);
                break;
        case 'getApps':
                $result=OC_Appconfig::getApps();
@@ -25,10 +25,10 @@ switch($action){
                $result=OC_Appconfig::getKeys($_GET['app']);
                break;
        case 'hasKey':
-               $result=OC_Appconfig::hasKey($_GET['app'],$_GET['key']);
+               $result=OC_Appconfig::hasKey($_GET['app'], $_GET['key']);
                break;
        case 'deleteKey':
-               $result=OC_Appconfig::deleteKey($_POST['app'],$_POST['key']);
+               $result=OC_Appconfig::deleteKey($_POST['app'], $_POST['key']);
                break;
        case 'deleteApp':
                $result=OC_Appconfig::deleteApp($_POST['app']);